Esempio n. 1
0
    void Update()
    {
        debugForm.Logic();

        if (keyboard.KeyReleased(Key.F1))
        {
            debugForm.Visible = !debugForm.Visible;
        }
        if (keyboard.KeyReleased(Key.F2))
        {
            layerForm.Visible = !layerForm.Visible;
        }
        if (keyboard.KeyReleased(Key.F3))
        {
            textureForm.Visible = !textureForm.Visible;
        }
        if (keyboard.KeyReleased(Key.F4))
        {
            meshDesigner.Visible = !meshDesigner.Visible;
        }
        if (keyboard.KeyReleased(Key.F5))
        {
            outlinerForm.Visible = !outlinerForm.Visible;
        }

        if (keyboard.KeyReleased(Key.F12))
        {
            new OptionsForm().Show();
        }
    }