Gear Assets
The ItemGearAsset class is a base class that other classes are derived from. It is unusable on its own.
Game Data File
The ItemGearAsset class inherits properties from the ItemClothingAsset class.
Properties
Property Name |
Type |
Default Value |
---|---|---|
Some inherited properties behave differently when used by this class. Notably, these are:
- Beard_Visible (from ItemClothingAsset). This property’s default behavior is altered. Refer to this class’s
Beard
property instead. - Hair_Visible (from ItemClothingAsset). This property’s default behavior is altered. Refer to this class’s
Hair
property instead.
Property Descriptions
Beard flag
When this flag is not included, the parent class’s Beard_Visible property is set to false. This flag must be included if the character’s facial hair should be visible.
Hair flag
When this flag is not included, the parent class’s Hair_Visible property is set to false. This flag must be included if the character’s hair should be visible.
Hair_Override string
When this property is set, the game will look for a child Mesh Renderer component in Unity that has the same name as this property’s value. If a matching Mesh Renderer is found, its material will be changed to the character’s hair material. This property is used by certain cosmetics that entirely cover the character’s hair, so that the player’s selected hair color can still be used for customization.