public void Action() { var ent = EntityManager.GetEntiy <GameObject>(EntID); for (int i = 0; i < ToPass.Count; i++) { if (ToPass[i] is INeedFromCom) { var com = ent.GetComponent <IValueCom>(((INeedFromCom)ToPass[i]).Alias); ((INeedFromCom)ToPass[i]).SetValue(com.DValue); } } SenceManger.LoadMainFile(NextSence, ToPass); }
public void Action() { var nextEntry = EntiyBlueprintManger.Get(BlueprintName); SenceManger.AddProcessedToMain(GameObjectFactory.AddCreatedGameObject(nextEntry, new List <IPassValue>())); }