using AlicizaX.Runtime; public static partial class GameApp { /// /// 获取对象池组件。 /// public static ObjectPoolComponent ObjectPool { get { if (_objectPool == null) { _objectPool = GameEntry.GetComponent(); } return _objectPool; } } private static ObjectPoolComponent _objectPool; }