Project_WL/Assets/Plugins/SimpleInput/Editor/ButtonInputDrawer.cs

13 lines
303 B
C#

using UnityEditor;
namespace SimpleInputNamespace
{
[CustomPropertyDrawer( typeof( SimpleInput.ButtonInput ) )]
public class ButtonInputDrawer : BaseInputDrawer
{
public override string ValueToString( SerializedProperty valueProperty )
{
return valueProperty.boolValue.ToString();
}
}
}