# Unit Type Is Affected By Upgrade

GrammarinUnitType is affected by upgradeType
FlagsNative | Function

Returns true if the specified unit type is listed in the specified upgrade’s affected unit array.

# Arguments

  • string [ gamelink::Unit ] — Unit Type
  • string [ gamelink::Upgrade ] — Upgrade Type

Returns — bool

native bool UnitTypeIsAffectedByUpgrade(
	string inUnitType,
	string inUpgrade,
);

Category: Unit / Properties

# Examples

— None found —