GetMaterials() private method

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

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