13 lines
300 B
C#
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();
|
|
}
|
|
}
|
|
} |