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

24 lines
446 B
C#

using AlicizaX.Runtime;
using AlicizaX.Scene.Runtime;
public static partial class GameApp
{
/// <summary>
/// 获取场景组件。
/// </summary>
public static SceneComponent Scene
{
get
{
if (_scene == null)
{
_scene = GameEntry.GetComponent<SceneComponent>();
}
return _scene;
}
}
private static SceneComponent _scene;
}