Material Palette Assets
The MaterialPaletteAsset
type allows an object to have multiple potential materials that it can use. A random material from the material palette is chosen every time the object is spawned in the level editor. In the level editor, material palettes can also be manually assigned to a selected object.
Metadata
GUID 32-digit hexadecimal: Refer to GUID documentation.
Type string: SDG.Unturned.MaterialPaletteAsset
Material Palette Properties
Materials array of Master Bundle Pointer dictionaries: Each dictionary in the list should point to a material bundled in Unity.
"Asset"
{
"Materials"
[
{
"Name" "core.masterbundle"
"Path" "Objects/Material_Palettes/House/House_00.mat"
}
{
"Name" "core.masterbundle"
"Path" "Objects/Material_Palettes/House/House_01.mat"
}
]
}