UnityEditor.SubstanceImporterInspector.InstanciatePrototype C# (CSharp) Method

InstanciatePrototype() public method

public InstanciatePrototype ( object prototypeName ) : void
prototypeName object
return void
        public void InstanciatePrototype(object prototypeName)
        {
            this.m_SelectedMaterialInstanceName = this.GetImporter().InstantiateMaterial(prototypeName as string);
            this.ApplyAndRefresh(false);
        }