21 lines
584 B
C#
21 lines
584 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// VolFx © NullTale - https://x.com/NullTale
|
|
namespace VolFx.Tools
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
|
public class SocFormatAttribute : PropertyAttribute
|
|
{
|
|
public string _format;
|
|
public string _regexClear;
|
|
public bool _nicify;
|
|
|
|
public SocFormatAttribute(string format = "{0}", string regexClear = "", bool nicify = true)
|
|
{
|
|
_format = format;
|
|
_regexClear = regexClear;
|
|
_nicify = nicify;
|
|
}
|
|
}
|
|
} |