LMQT/Assets/TouchScript/Scripts/Utils/Attributes/NullToggleAttribute.cs
2024-12-10 09:03:45 +08:00

30 lines
679 B
C#

/*
* @author Valentin Simonov / http://va.lent.in/
*/
using UnityEngine;
namespace TouchScript.Utils.Attributes
{
/// <summary>
/// <para>An attribute to use with NullToggle item drawer.</para>
/// <para><b>For internal use only!</b></para>
/// </summary>
public class NullToggleAttribute : PropertyAttribute
{
/// <summary>
/// Int value
/// </summary>
public int NullIntValue = 0;
/// <summary>
/// Float value
/// </summary>
public float NullFloatValue = 0f;
/// <summary>
/// Object value
/// </summary>
public Object NullObjectValue = null;
}
}