using AlicizaX; using UnityEngine; namespace AlicizaX.Scene.Runtime { [DisallowMultipleComponent] [AddComponentMenu("Game Framework/Scene")] public sealed class SceneComponent : MonoBehaviour { private void Awake() { if (!AppServices.App.TryGet(out _)) { AppServices.App.Register(new SceneService()); } AppServices.EnsureScene(); } } }