public override void Run() { Game.Scene.GetComponent <UIComponent>().Remove(UIType.UILogin); Game.Scene.GetComponent <ResourcesComponent>().UnloadBundle(UIType.UILogin.StringToAB()); UI ui = UILobbyFactory.Create(); Game.Scene.GetComponent <UIComponent>().Add(ui); }
public override void Run() { UI ui = UILobbyFactory.Create(); Game.Scene.GetComponent <UIComponent>().Add(ui); }
public override void Run(EventType.LoginFinish args) { UI ui = UILobbyFactory.Create(); Game.Scene.GetComponent <UIComponent>().Add(ui); }