Exemplo n.º 1
0
    public void ToggleSettingsPanel()
    {
        showSettingsPanel = !showSettingsPanel;
        uIAnimator.Show(showSettingsPanel);
        GcodeGenerator code = GameObject.Find("BottomPlate").GetComponent <GcodeGenerator>();

        code.showSettingsPanel = false;
        code.uIAnimator.Show(false);
    }
Exemplo n.º 2
0
        void Start()
        {
            GcodeGen = gameObject.GetComponent <GcodeGenerator>();

            GcodeGen.LoadingPanel.SetActive(true);
            GcodeGen.LoadingPanel.SetActive(false);

            line.gameObject.SetActive(false);
            alpha = 1;
            beta  = 2;
            rho   = 0.00002;
            Q     = 14;
        }