文档

Unity Engine

Unity Engine

ApplyMaterialPropertyDrawers

Apply initial MaterialPropertyDrawer values.
阅读时间1 分钟最后更新于 1 天前

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.