MaterialSelectorBase


Declaration

public abstract class MaterialSelectorBase : MonoBehaviour

Description

Assigns a renderer's material from a preset list of options.

Properties

m_Style
m_Pattern
m_Styles
m_Patterns
styleThe selected style preset.
stylesThe palette of available styles.
patternThe selected pattern preset.
patternsThe palette of available patterns.

Methods

ApplyApplies the selected style and pattern to the renderer.