public bool IsUnitTurn(bool extended = false) { Unit currentActiveUnit = _unitList.FindActiveUnit(GetStatistics().team).GetComponent <Unit>(); bool isTurn = Turn.IsUnitTurn(_unitStatistics.team) && _unitPhase != UnitPhase.OnCooldown; if (currentActiveUnit.unitData.name != unitData.name && Turn.IsTurnBlocked()) { isTurn = false; } return(isTurn); }