Replies: 1 comment
-
function (value:Float):String {
Std.string(value); } Hopefully that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create an createPrefItemNumber but I can't figure out how to change the formatter to use a Float instead.
I found only this in the Source of the game:
But I can't figure out how to change the valueFormatter to format value as Float.
I have only this till now if helps:
Update:
I tried something like this but now when I force restart (F5) the game the value starts from the int instead of the float, ex: I save 3.3 REFRESH it shows 3.3 but when i change it starts back from 3
Beta Was this translation helpful? Give feedback.
All reactions