public MM_GUIHandler() { Instance = this; settings = new MM_GUI_SettingsHandler(); Login = GameObject.Find("GUI_Login"); registerLogin_GuiHandler = new RegisterLogin_GuiHandler(Login); MM = GameObject.Find("GUI_MainMenu"); Connecting = GameObject.Find("GUI_Connecting"); ConnectingText = GameObject.Find("ConnectingDescriptionText").GetComponent <Text>(); InQueue = GameObject.Find("GUI_InQueue"); QueueReady = GameObject.Find("GUI_QueueReadyCheck"); FillImage = GameObject.Find("GUI_QueueReadyCheck_FillImage").GetComponent <Image>(); SetUIState_Login(); }
public MM_EventHandler() { guiHandler = MM_GUIHandler.Instance; }
public void SendMessageOnConnectionSuccesfull(MM_GUIHandler gUIHandler, DBClient client, object serializableMsg) { this.gUIHandler = gUIHandler; this.client = client; this.serializableMsg = serializableMsg; }
private void Start() { config = new UnityClientConfig(new ClockWrapper()); mM_GUIHandler = new MM_GUIHandler(); }