Files
2026-03-04 10:03:45 +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;
}
}
}