Esempio n. 1
0
        public void Open(BlockBar bar)
        {
            m_IsOpened = true;
            gameObject.SetActive(true);

            bar.ClearSelection();
            //Debug.Log("clear");

            MonoSingleton <GameSystem> .Instance.InputMngIns.StopHandleInput();
        }
Esempio n. 2
0
        public void Close(BlockBar bar)
        {
            m_IsOpened = false;

            if (m_SelectedSlot != null)
            {
                m_SelectedSlot.DisSelect();
            }
            gameObject.SetActive(false);

            MonoSingleton <GameSystem> .Instance.InputMngIns.StartHandleInput();
        }
Esempio n. 3
0
        protected override void _DisSelect()
        {
            BlockBar bar = GetComponentInParent <BlockBar>();

            bar.DisselectSlot(this);
        }