using System; namespace ET.Client { [EntitySystemOf(typeof(GameObjectComponent))] public static partial class GameObjectComponentSystem { [EntitySystem] private static void Destroy(this GameObjectComponent self) { UnityEngine.Object.Destroy(self.GameObject); } [EntitySystem] private static void Awake(this GameObjectComponent self) { } } }