com.alicizax.unity.framework/Runtime/Procedure/ProcedureComponent.cs
陈思海 cad7722e44 优化
1.重名所有App级模块为Service
2.移除Module中心 移除SingletonManager
3.引入Service Scope Context概念  避免上下文Manager到处引用
4.修复部分bug
2026-03-26 16:14:05 +08:00

15 lines
333 B
C#

using UnityEngine;
namespace AlicizaX
{
[DisallowMultipleComponent]
[AddComponentMenu("Game Framework/Procedure")]
public sealed class ProcedureComponent : MonoBehaviour
{
private void Awake()
{
AppServices.GetOrCreateScope<AppScope>().Register(new ProcedureService());
}
}
}