UnitUtils.GetUnitGroup
Description:
Gets the unit group for a given unit type.
Gets the unit group for a given unit type.
Overloads (2):
GetUnitGroup(UnitType)
-
unitTypeThe unit type.
Return Value
The unit group.
The unit group.
-
unitType is an invalid unit type. See UnitUtils.IsValidUnitType() and UnitUtils.GetValidUnitTypes().
-
A value passed for an enumeration argument is not a member of that enumeration