We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On the website the example of ProgressBar has an int value for max value, but it doesnt seem to work for me:
[Label("Filter Value")] [ProgressBar("Filter Value", "ex_filter_max", EColor.Red)] public int ex_filter_value; public int ex_filter_max;
gives me:
but if I change the maxvalue to float:
[Label("Filter Value")] [ProgressBar("Filter Value", "ex_filter_max", EColor.Red)] public int ex_filter_value; public float ex_filter_max;
it works;
Is it possible to make the progress bar work with int? Or only float? Am I doing something wrong or is the documentation outdated?
(I have tried copying out that bit from the documentation and I get the same error:
[ProgressBar("Stamina", "maxStamina", EColor.Green)] // Dynamic max value constructor public int stamina = 150; public int maxStamina = 200;
The text was updated successfully, but these errors were encountered:
#222 - fixed a bug where ProgressBar wasn't working with integers
faa02a1
Fixed in faa02a1
Sorry, something went wrong.
e8c272f
No branches or pull requests
On the website the example of ProgressBar has an int value for max value, but it doesnt seem to work for me:
gives me:
![image](https://user-images.githubusercontent.com/16197906/114244847-c54cb600-997e-11eb-8c18-1c12b05d4198.png)
but if I change the maxvalue to float:
it works;
![image](https://user-images.githubusercontent.com/16197906/114244902-e31a1b00-997e-11eb-9a01-2d19cac306c4.png)
Is it possible to make the progress bar work with int? Or only float?
Am I doing something wrong or is the documentation outdated?
(I have tried copying out that bit from the documentation and I get the same error:
The text was updated successfully, but these errors were encountered: