using Entitas; using Entitas.CodeGeneration.Attributes; namespace CoreGame.Render { /// /// 这个很重,直接销毁实体,无法复活的东西 /// // [Combat, Event(EventTarget.Self), Cleanup(CleanupMode.DestroyEntity)] [Combat] public class DestroyEntComponent : IComponent { } }