GetMaterials() private méthode

private GetMaterials ( ) : UnityEngine.ProceduralMaterial[]
Résultat UnityEngine.ProceduralMaterial[]
Exemple #1
0
        private ProceduralMaterial[] GetSortedMaterials()
        {
            SubstanceImporter importer = this.GetImporter();

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