GetMaterials() private method

private GetMaterials ( ) : UnityEngine.ProceduralMaterial[]
return UnityEngine.ProceduralMaterial[]
Example #1
0
        private ProceduralMaterial[] GetSortedMaterials()
        {
            SubstanceImporter importer = this.GetImporter();

            ProceduralMaterial[] materials = importer.GetMaterials();
            Array.Sort(materials, new SubstanceImporterInspector.SubstanceNameComparer());
            return(materials);
        }