public override void OnPreviewGUI(Rect r, GUIStyle background) { if (this.m_CustomShaderGUI != null) { this.m_CustomShaderGUI.OnMaterialPreviewGUI(this, r, background); } else { this.DefaultPreviewGUI(r, background); } }