public Entity Create(EntityManagerWrapper wrapper, EntityVariableMap variables)
 {
     return(wrapper.CreateEntity(EntityArchetypeManager.Instance.GetOrCreateArchetype <T>()));
 }
 public void Process(EntityManagerWrapper wrapper, EntityVariableMap variables, ref EntityBuilderData data)
 {
     data.entity = wrapper.CreateEntity();
 }
示例#3
0
 public void Process(EntityManagerWrapper wrapper, EntityVariableMap variables, ref EntityBuilderData data)
 {
     data.entity = wrapper.CreateEntity(GetEntityArchetype(wrapper));
     wrapper.SetName(data.entity, typeof(T).Name + " " + data.entity.Index);
 }
 public Entity Create(EntityManagerWrapper wrapper, EntityVariableMap variables)
 {
     return(wrapper.CreateEntity());
 }