private void CombatSystemUnitDebugLogger(UnitCombatSystem unit) { if (unit == null) { return; } Debug.Log( $"Unit name: {unit.name}, team: {unit.GetTeam()}, POSITION: X:{unit.transform.position.x} Y:{unit.transform.position.y} "); }
public bool IsEnemy(UnitCombatSystem unitGridCombat) { return(unitGridCombat.GetTeam() != team); }