14 lines
455 B
C#
14 lines
455 B
C#
using System.Reflection;
|
|
using UnityEngine;
|
|
|
|
namespace Module.Inspector.Editor
|
|
{
|
|
[CustomMethodDrawer(typeof(HideInNormalInspector))]
|
|
internal sealed class DrawerHideInNormalInspector : AccessModifierMethodDrawer
|
|
{
|
|
public override EAccessType GetAccessType(AccessModifierMethodAttribute attribute, Object target, MethodInfo methodInfo, EAccessType currentAccessType)
|
|
{
|
|
return EAccessType.Hidden;
|
|
}
|
|
}
|
|
} |