mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
12 lines
256 B
C#
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;
|
|
}
|
|
}
|
|
} |