Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

material

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

targets

Remarks

This calls all MaterialPropertyDrawer.Apply functions on all properties that have custom drawers.