20 lines
446 B
C#
20 lines
446 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |