Esempio n. 1
0
        public void AddRemoveComponentData(Entity entity, ComponentType componentType)
        {
            RemoveComponentData data = new RemoveComponentData
            {
                Entity = entity,
                Type   = componentType
            };

            RemoveList.Add(data);
        }
Esempio n. 2
0
        public void AddRemoveComponentData <T>(Entity entity)
        {
            RemoveComponentData data = new RemoveComponentData
            {
                Entity = entity,
                Type   = typeof(T)
            };

            RemoveList.Add(data);
        }