Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

MaterialEditor.ApplyMaterialPropertyDrawers

public static void ApplyMaterialPropertyDrawers(Material material);
public static void ApplyMaterialPropertyDrawers(Object[] targets);

Description

Apply initial MaterialPropertyDrawer values.

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

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答