Documentation

Unity Engine

Unity Engine

ApplyMaterialPropertyDrawers

Apply initial MaterialPropertyDrawer values.
Read time 1 minuteLast updated a day ago

Definition

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.