Open anonymous2585 opened 1 year ago
Low priory issue, worth investigating.
Hi @anonymous2585 ,
Thank you for reporting this issue. We appreciate your feedback and interest in MRTK3.
We have reviewed your issue. We have added it to our backlog and will prioritize it accordingly.
However, if you would like to speed up the process and contribute to the MRTK3 project, you are welcome to submit a Pull Request with your proposed fix or implementation. We would be happy to review your code and merge it into the main branch if it meets our quality standards.
Please let us know if you have any questions or need any assistance. Thank you for your support and collaboration.
Best regards, The MRTK3 team
Describe the problem
The script
CanvasSliderVisuals
uses anUpdate()
function to do things in the editor. https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/blob/e30b350c131501084a4f9003cba1361248717f66/org.mixedrealitytoolkit.uxcore/Slider/Visuals/CanvasSliderVisuals.cs#L166I fell it is not necessary in this case, a
OnValidate()
function should do the job. The[ExecuteAlways]
could then be removed, improving in editor performances.Moreother, the handle position is not updated when modifying the slider value from the inspector in playmode. This is different from the classic Unity UI. I d'like the behaviour in editor to be the same as the Unity UI slider.
Describe the solution you'd like
[ExecuteAlways]
andUpdate()
with anOnValidate()
function or other Unity editor tools.