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