示例#1
0
    private void Update()
    {
        if (this == null)
        {
            return;
        }

        if (Input.GetKeyDown(DeselectKey) && cManager.CurCombatState == CombatState.Match3Turn)
        {
            boardHandler.DeseletSelectedTiles();
        }

        //Temporary Handle State
        if (enableMatch3 == false && cManager.CurCombatState == CombatState.Match3Turn)
        {
            enableMatch3 = true;

            SetBoxColliderActive(true);
        }
        else if (cManager.CurCombatState != CombatState.Match3Turn)
        {
            enableMatch3 = false;

            SetBoxColliderActive(false);
        }
    }