com.alicizax.unity.entry/Runtime/GameApp.ObjectPool.cs
陈思海 0ee146b515 init
2025-02-07 16:09:00 +08:00

22 lines
458 B
C#

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