using System;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class NamingAttribute : DrawerPropertyAttribute
{
public enum EPatternType : byte
{
///
/// Camel casing: thisIsCamelCasing
///
CamelCasing,
///
/// Pascal casing: ThisIsPascalCasing
///
PascalCasing,
///
/// Snake casing: this_is_snake_casing
///
SnakeCasing,
///
/// Snake casing: THIS_IS_SNAKE_CASING_WITH_ALL_CAPS
///
SnakeCasingAllCaps,
///
/// Kebab casing: this-is-kebab-casing
///
KebabCasing,
///
/// Kebab casing: THIS_IS_KEBAB_CASING_WITH_ALL_CAPS
///
KebabCasingAllCaps
}
public readonly EPatternType type;
public NamingAttribute(EPatternType type)
{
this.type = type;
}
}
}