public void Open(BlockBar bar) { m_IsOpened = true; gameObject.SetActive(true); bar.ClearSelection(); //Debug.Log("clear"); MonoSingleton <GameSystem> .Instance.InputMngIns.StopHandleInput(); }
public void Close(BlockBar bar) { m_IsOpened = false; if (m_SelectedSlot != null) { m_SelectedSlot.DisSelect(); } gameObject.SetActive(false); MonoSingleton <GameSystem> .Instance.InputMngIns.StartHandleInput(); }
protected override void _DisSelect() { BlockBar bar = GetComponentInParent <BlockBar>(); bar.DisselectSlot(this); }