Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/UltimateWater/Utils/InspectorWarningAttribute.cs
2026-02-21 16:45:37 +08:00

27 lines
443 B
C#

using System;
using UnityEngine;
namespace UltimateWater.Utils
{
[AttributeUsage(AttributeTargets.Field)]
public class InspectorWarningAttribute : PropertyAttribute
{
public enum InfoType
{
Note = 0,
Warning = 1,
Error = 2
}
public readonly string MethodName;
public readonly InfoType Type;
public InspectorWarningAttribute(string methodName, InfoType type)
{
MethodName = methodName;
Type = type;
}
}
}