MaterialEditor.GetMaterialProperties

public static MaterialProperty[] GetMaterialProperties(Object[] mats);

Description 描述

Get shader property information of the passed materials.

When implementing custom MaterialEditors, you'd usually pass this.targets array to this function, i.e. all the selected materials.

See Also: MaterialProperty.