UnitUtils.GetUnitGroup
Description:
Gets the unit group for a given spec.
Gets the unit group for a given spec.
Overloads (2):
GetUnitGroup(ForgeTypeId)
public static UnitGroup GetUnitGroup(
ForgeTypeId specTypeId
)
-
specTypeIdIdentifier of the spec.
Return Value
The unit group.
The unit group.
-
specTypeId is not a spec identifier. See UnitUtils.IsSpec(ForgeTypeId) and UnitUtils.GetSpecTypeId(UnitType).
-
A non-optional argument was NULL