示例#1
0
        private void Close()
        {
            _sticky = false;

            if (launcher == null)
            {
                return;
            }

            launcher.Close();

            launcher = null;
        }
示例#2
0
        private void Open()
        {
            if (launcher != null)
            {
                return;
            }

            if (BasicDeltaV_Loader.ToolbarPrefab == null)
            {
                return;
            }

            launcher = (Instantiate(BasicDeltaV_Loader.ToolbarPrefab, GetAnchor(), Quaternion.identity) as GameObject).GetComponent <BasicDeltaV_AppWindow>();

            if (launcher == null)
            {
                return;
            }

            launcher.transform.SetParent(UIMasterController.Instance.appCanvas.transform);

            launcher.setBasic(BasicDeltaV.Instance);
        }