<Code Lib>
2025.3 Method
Changes 1
M

FormatOptions.CanHaveSymbol(ForgeTypeId)

Description:
Checks whether a symbol can be specified to display a given unit.
Overloads (2):
CanHaveSymbol(ForgeTypeId)

public static bool CanHaveSymbol(
	ForgeTypeId unitTypeId
)

Return Value Boolean True if a symbol can be specified, false otherwise.

  • unitTypeId is not a unit identifier. See UnitUtils.IsUnit(ForgeTypeId) and UnitUtils.GetUnitTypeId(DisplayUnitType).
  • A non-optional argument was null

Loading…