The ItemGearAsset class is a base class that other classes are derived from. It is unusable on its own.
The ItemGearAsset class inherits properties from the ItemClothingAsset <doc_item_asset_clothing>
class.
Property Name | Type | Default Value |
---|---|---|
Beard <doc_item_asset_gear:beard> |
flag <doc_data_flag> |
|
Hair <doc_item_asset_gear:hair> |
flag <doc_data_flag> |
|
Hair_Override <doc_item_asset_gear:hair_override> |
string <doc_data_builtin_types> |
Some inherited properties behave differently when used by this class. Notably, these are:
Beard_Visible <doc_item_asset_clothing:beard_visible>
(fromItemClothingAsset <doc_item_asset_clothing>
). This property's default behavior is altered. Refer to this class'sBeard
property instead.Hair_Visible <doc_item_asset_clothing:hair_visible>
(fromItemClothingAsset <doc_item_asset_clothing>
). This property's default behavior is altered. Refer to this class'sHair
property instead.
When this flag is not included, the parent class's Beard_Visible <doc_item_asset_clothing:beard_visible>
property is set to false. This flag must be included if the character's facial hair should be visible.
When this flag is not included, the parent class's Hair_Visible <doc_item_asset_clothing:hair_visible>
property is set to false. This flag must be included if the character's hair should be visible.
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.