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

13 lines
313 B
C#

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