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

13 lines
300 B
C#

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