Files
TEngine/Assets/GameScripts/DotNet/Hotfix/Share/Module/Scene/CurrentScenesComponentSystem.cs
ALEXTANG 336d4b2eb9 [+] 接入ET8服务端
[+] 接入ET8服务端
2023-07-13 12:23:48 +08:00

12 lines
256 B
C#

using System;
namespace ET
{
public static partial class CurrentScenesComponentSystem
{
public static Scene CurrentScene(this Scene root)
{
return root.GetComponent<CurrentScenesComponent>()?.Scene;
}
}
}