17 lines
494 B
C#
Raw Normal View History

2025-03-11 15:30:07 +08:00
using UnityEngine.Rendering.PostProcessing;
namespace UnityEditor.Rendering.PostProcessing
{
[PostProcessEditor(typeof(MotionBlur))]
internal sealed class MotionBlurEditor : DefaultPostProcessEffectEditor
{
public override void OnInspectorGUI()
{
if (EditorUtilities.isVREnabled)
EditorGUILayout.HelpBox("Motion Blur is available only for non-stereo cameras.", MessageType.Warning);
base.OnInspectorGUI();
}
}
}