GameObjectComponentSystem.cs 446 B

1234567891011121314151617181920
  1. using System;
  2. namespace ET.Client
  3. {
  4. [EntitySystemOf(typeof(GameObjectComponent))]
  5. public static partial class GameObjectComponentSystem
  6. {
  7. [EntitySystem]
  8. private static void Destroy(this GameObjectComponent self)
  9. {
  10. UnityEngine.Object.Destroy(self.GameObject);
  11. }
  12. [EntitySystem]
  13. private static void Awake(this GameObjectComponent self)
  14. {
  15. }
  16. }
  17. }