12345678910111213141516171819202122 |
- using ET.Client;
- namespace ET
- {
- [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;
- }
- }
- }
|