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;
|
|
}
|
|
}
|
|
} |