private GetMaterials ( ) : UnityEngine.ProceduralMaterial[] | ||
Результат | UnityEngine.ProceduralMaterial[] |
private ProceduralMaterial[] GetSortedMaterials() { SubstanceImporter importer = this.GetImporter(); ProceduralMaterial[] materials = importer.GetMaterials(); Array.Sort(materials, new SubstanceImporterInspector.SubstanceNameComparer()); return(materials); }