public void OnDropDownChange()
 {
     sm.ApplyMaterial(sm.materials[d.value]);
 }