Exemple #1
0
    public void ApplyOptions(GameOptionsGT options)
    {
        m_View.View.TriggerEvent("gameConsole:Trace", options);

        Screen.SetResolution(
            (int)m_GameOptions.Width,
            (int)m_GameOptions.Height,
            Screen.fullScreen);
    }
Exemple #2
0
    // Use this for initialization
    void Start()
    {
        m_View = GetComponent <CoherentUIGTView>();

        m_GameOptions = new GameOptionsGT {
            Backend = "Unity3D",
            Width   = 1024,
            Height  = 768,
            NetPort = 17777,
        };
    }
Exemple #3
0
    // 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,
        };
    }