1234567891011121314151617181920 |
- namespace ET
- {
- [ObjectSystem]
- public class UnitSystem: AwakeSystem<Unit, int>
- {
- protected override void Awake(Unit self, int configId)
- {
- self.ConfigId = configId;
- }
- }
- [ObjectSystem]
- public class UnitDestroySystem : DestroySystem<Unit>
- {
- protected override void Destroy(Unit self)
- {
- //TODO:
- }
- }
- }
|