Constructor MaterialSwitch
MaterialSwitch(GameObject, string, string)
Construct MaterialSwitch
Declaration
public MaterialSwitch(GameObject root, string switchName, string materialVariantsFile)
Parameters
Type | Name | Description |
---|---|---|
GameObject | root | The object containing all material variants |
string | switchName | The name of the variant set to look for |
string | materialVariantsFile | The file path of the file containing material variants |