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