com.alicizax.unity.framework/Runtime/Scene/SceneComponent.cs

17 lines
365 B
C#
Raw Normal View History

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()
{
AppServices.GetOrCreateScope<AppScope>().Register(new SceneService());
2025-09-05 19:46:30 +08:00
}
}
}