public override void OnPreviewSettings() { if (ShaderUtil.hardwareSupportsRectRenderTexture && SystemInfo.supports3DTextures) { GUI.enabled = true; } } }