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

Manual entry of values via keyboard vs sliders not working on 3.2.2 #7

Open
ZacWolf opened this issue May 13, 2020 · 5 comments
Open

Comments

@ZacWolf
Copy link

ZacWolf commented May 13, 2020

Hello!

I just started using your updated codebase, and it looks like I'm not able to manually enter decimal numeric values into the various forms (vs using the sliders). If I use a decimal, whatever I type when I press enter it goes to the max value. It will accept INT values, just not decimal values.

THANKS!

@finepointcgi
Copy link
Owner

finepointcgi commented May 30, 2020

Hey,

I have fixed this issue and am doing a new release. Try this build in the mean time.
https://drive.google.com/file/d/1Yx-VTJfvo4TWsVUE6FEZP0-87kV4ptYp/view?usp=sharing

Ninja Edit:
Created a new release for this.
https://github.com/mitchelldmccollum/Materialize/releases/tag/3.2.3

Thanks,
Mitch

@ZacWolf
Copy link
Author

ZacWolf commented Jun 5, 2020

So typing in a decimal value now allows setting that value, likewise that value remains on "lose focus" of that form field, BUT if you type a value and press Enter, it still reverts to an INT value. THANKS!

@finepointcgi
Copy link
Owner

Yeah, this is a limitation of the Unity Legacy GUI system. Once I move over to the newer system this will be fixed.

@ZacWolf
Copy link
Author

ZacWolf commented Jun 5, 2020

I can work around not pressing Enter (just an old habit) until then, thanks!
I'll leave it to you to close this now or when the new system is in place.

Thanks again for addressing the issues! I'm a Java developer, and I'm not making heads or tails of this codebase (assuming that's because it's built on top of Unity?). Is there any "starting point" you could recommend how to educate me on using Unity in this way? All the starter info I'm finding seems to be focused on game development, and while it may be the same paradigm I'm more interested in the GUI aspect vs the physics/game-play aspect. THANKs!

@finepointcgi
Copy link
Owner

Sure, Unitys framework really messes with how this operates. What id start with is looking at the Unity.ui system. Everything in unity needs to be hooked up to the scripts by dragging and dropping into the inspector. When you click a button you link it to a public function by dragging and dropping it into the button, it can be a heck of a problem.

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