ApplyMaterialPropertyDrawers
Apply initial MaterialPropertyDrawer values.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
ApplyMaterialPropertyDrawers(Material)
Apply initial MaterialPropertyDrawer values.
public static void ApplyMaterialPropertyDrawers(Material material)
Parameters
Remarks
This calls all MaterialPropertyDrawer.Apply functions on all properties that have custom drawers.
ApplyMaterialPropertyDrawers(Object[])
Apply initial MaterialPropertyDrawer values.
public static void ApplyMaterialPropertyDrawers(Object[] targets)
Parameters
Remarks
This calls all MaterialPropertyDrawer.Apply functions on all properties that have custom drawers.