public override void OnPreviewSettings() { if (ShaderUtil.hardwareSupportsRectRenderTexture) { GUI.enabled = true; this.Init(); } }