public override void Run(Entity domain) { UI ui = UILoadingFactory.Create(domain); Game.Scene.GetComponent <UIComponent>().Add(ui); }
public override void Run(EventType.LoadingBegin args) { UI ui = UILoadingFactory.Create(args.Scene); Game.Scene.GetComponent <UIComponent>().Add(ui); }