namespace ET.Client { [ObjectSystem] public class PlayerComponentAwakeSystem : AwakeSystem<PlayerComponent> { protected override void Awake(PlayerComponent self) { PlayerComponent.Instance = self; } } [ObjectSystem] public class PlayerComponentDestroySystem : DestroySystem<PlayerComponent> { protected override void Destroy(PlayerComponent self) { PlayerComponent.Instance = null; } } }