Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DelayedIntField is better than IntField #29

Closed
z3nth10n opened this issue Jul 5, 2017 · 1 comment
Closed

DelayedIntField is better than IntField #29

z3nth10n opened this issue Jul 5, 2017 · 1 comment

Comments

@z3nth10n
Copy link
Contributor

z3nth10n commented Jul 5, 2017

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.

@daemon3000
Copy link
Owner

@Ikillnukes I merged your pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants