GameObjectComponentSystem.cs 362 B

1234567891011121314
  1. namespace ET.Client
  2. {
  3. public static class GameObjectComponentSystem
  4. {
  5. [ObjectSystem]
  6. public class DestroySystem : DestroySystem<GameObjectComponent>
  7. {
  8. protected override void Destroy(GameObjectComponent self)
  9. {
  10. UnityEngine.Object.Destroy(self.GameObject);
  11. }
  12. }
  13. }
  14. }