namespace ET.Client { [FriendOf(typeof(ModelViewComponent))] public static class ModelViewComponentSystem { [ObjectSystem] public class ModelViewComponentAwakeSystem : AwakeSystem { protected override void Awake(ModelViewComponent self) { ModelViewComponent.Instance = self; } } [ObjectSystem] public class ModelViewComponentDestroySystem : DestroySystem { protected override void Destroy(ModelViewComponent self) { ModelViewComponent.Instance = null; } } } }