CurrentScenesComponentSystem.cs 262 B

123456789101112
  1. using System;
  2. namespace ET
  3. {
  4. public static class CurrentScenesComponentSystem
  5. {
  6. public static Scene CurrentScene(this Scene clientScene)
  7. {
  8. return clientScene.GetComponent<CurrentScenesComponent>()?.Scene;
  9. }
  10. }
  11. }