using System; namespace ET { public static class CurrentScenesComponentSystem { [ObjectSystem] public class CurrentScenesComponentAwakeSystem: AwakeSystem { public override void Awake(CurrentScenesComponent self) { } } public static Scene CurrentScene(this Scene zoneScene) { return zoneScene.GetComponent()?.Scene; } } }