public static Entity DefaultEntityFactoryMethod(GameObject gameObject, EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate) { return(new Entity(gameObject, componentAddedDelegate, componentRemovedDelegate)); }
public static Entity EntityFactory(GameObject gameObject, EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate) { return(new EntityDisposableInEditor(gameObject, componentAddedDelegate, componentRemovedDelegate)); }
private Entity CreateEntity(EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate) { return(new EntityDisposableInEditor(gameObject, componentAddedDelegate, componentRemovedDelegate)); }
public Entity(GameObject entity, EntityComponentChange componentAddedDelegate, EntityComponentChange componentRemovedDelegate) { this.gameObject = entity; this.componentAddedDelegate = componentAddedDelegate; this.componentRemovedDelegate = componentRemovedDelegate; }