示例#1
0
 public static Entity DefaultEntityFactoryMethod(GameObject gameObject, EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate)
 {
     return(new Entity(gameObject, componentAddedDelegate, componentRemovedDelegate));
 }
示例#2
0
 public static Entity EntityFactory(GameObject gameObject, EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate)
 {
     return(new EntityDisposableInEditor(gameObject, componentAddedDelegate, componentRemovedDelegate));
 }
示例#3
0
文件: EntityTest.cs 项目: UCh/UChECS
 private Entity CreateEntity(EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate)
 {
     return(new EntityDisposableInEditor(gameObject, componentAddedDelegate, componentRemovedDelegate));
 }
示例#4
0
文件: Entity.cs 项目: UCh/UChECS
 public Entity(GameObject entity, EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate)
 {
     this.gameObject               = entity;
     this.componentAddedDelegate   = componentAddedDelegate;
     this.componentRemovedDelegate = componentRemovedDelegate;
 }