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