You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
630 B

using UnityEngine;
using UnityEngine.Rendering;
namespace UnityEditor
{
/// <summary>
/// Editor for Lens Flare (builtin): Editor to show an error message
/// </summary>
[CustomEditor(typeof(LensFlare))]
[SupportedOnRenderPipeline]
[CanEditMultipleObjects]
class LensFlareEditor : Editor
{
/// <summary>
/// Implement this function to make a custom inspector
/// </summary>
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("This component doesn't work on SRP, use Lens Flare (SRP) instead.", MessageType.Error);
}
}
}