You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
490 B
20 lines
490 B
using System; |
|
|
|
namespace ET |
|
{ |
|
public static class CurrentScenesComponentSystem |
|
{ |
|
[ObjectSystem] |
|
public class CurrentScenesComponentAwakeSystem: AwakeSystem<CurrentScenesComponent> |
|
{ |
|
public override void Awake(CurrentScenesComponent self) |
|
{ |
|
} |
|
} |
|
|
|
public static Scene CurrentScene(this Scene zoneScene) |
|
{ |
|
return zoneScene.GetComponent<CurrentScenesComponent>()?.Scene; |
|
} |
|
} |
|
} |