2025-09-05 19:46:30 +08:00
|
|
|
using System;
|
|
|
|
|
using AlicizaX;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace AlicizaX.Scene.Runtime
|
|
|
|
|
{
|
|
|
|
|
[DisallowMultipleComponent]
|
|
|
|
|
[AddComponentMenu("Game Framework/Scene")]
|
|
|
|
|
public sealed class SceneComponent : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
private void Awake()
|
|
|
|
|
{
|
2026-03-26 16:14:05 +08:00
|
|
|
AppServices.GetOrCreateScope<AppScope>().Register(new SceneService());
|
2025-09-05 19:46:30 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|