mats | The selected materials. |
string[] Returns the material property names.
Gets the shader property names of the materials you pass in.
When implementing custom MaterialEditors, you'd usually pass the this.targets
array to this function, where this.targets
is all the selected materials.
Additional resources: MaterialProperty.