daemon3000/InputManager

DelayedIntField is better than IntField

z3nth10n opened this issue · 1 comments

I've been squeezing my mind because I has some problem editing Axis from InputManager, because, they were deleted when I edited their sizes. I wasn't testing some bools, but searching in the Unity ScriptReference I see this:

https://docs.unity3d.com/ScriptReference/EditorGUILayout.DelayedIntField.html

@daemon3000 I suggest you to use them. The main problem here, is that if you are editing them, and you want to edit the value from 12 to 13, when you erase the 2 to write a 3, you resize it to 1, when you write 13, you have 12 values copied from the first value.

I had make some changes to your InputManagerEditor.cs. I forked and edit it, thanks!

Pull request: #30

PD: Maybe there are a lot of changes, but this is caused because of Visual Studio.

@Ikillnukes I merged your pull request.