public override void OnPreviewGUI(Rect r, GUIStyle background) { CustomMonoBehaviour customBehaviour = target as CustomMonoBehaviour; customBehaviour.ShowPreviewGUI(r, background); }