public void ApplyOptions(GameOptionsGT options) { m_View.View.TriggerEvent("gameConsole:Trace", options); Screen.SetResolution( (int)m_GameOptions.Width, (int)m_GameOptions.Height, Screen.fullScreen); }
// Use this for initialization void Start() { m_View = GetComponent <CoherentUIGTView>(); m_GameOptions = new GameOptionsGT { Backend = "Unity3D", Width = 1024, Height = 768, NetPort = 17777, }; }
// Use this for initialization void Start() { m_View = GetComponent <CoherentUIGTView>(); m_View.Listener.ReadyForBindings += HandleReadyForBindings; m_GameOptions = new GameOptionsGT { Backend = "Unity3D", Width = 1024, Height = 768, NetPort = 17777, }; }