Files
MinFt/Client/LocalPackages/SoftMaskForUGUI-3.5.0/Editor/AutoGeneratedEditor.cs
2026-04-27 12:07:32 +08:00

29 lines
729 B
C#

using UnityEditor;
using UnityEngine;
namespace Coffee.UISoftMask
{
public class AutoGeneratedEditor : Editor
{
private static readonly GUIContent s_Help = new GUIContent(
"This component is automatically generated and will be not saved in the scene or prefab.");
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox(s_Help);
}
}
[CustomEditor(typeof(TerminalMaskingShape))]
[CanEditMultipleObjects]
public class TerminalMaskingShapeEditor : AutoGeneratedEditor
{
}
[CustomEditor(typeof(MaskingShapeContainer))]
[CanEditMultipleObjects]
public class MaskingShapeContainerEditor : AutoGeneratedEditor
{
}
}