ApplyMaterialPropertyDrawers
Apply initial MaterialPropertyDrawer values.
阅读时间1 分钟最后更新于 1 个月前
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.