Unity-UI-Extensions / com.unity.uiextensions

https://unity-ui-extensions.github.io/
1.2k stars 129 forks source link

What's the meaning of FIFO based UI Line Render #450

Open ffbh123456 opened 1 year ago

ffbh123456 commented 1 year ago

just read this line in README.md: Added new FIFO based UI Line Render when dynamic line rendering is needed. have no idea about the FIFO, I do need to update the Points in UILineRender dynamically. for now, I have to call SetVerticesDirty() every frame after I modified the Points in UILineRender. Is there a better component for displaying dynamically lines rendered in UI than UILineRender

SimonDarksideJ commented 11 months ago

The author provided an example scene and an explanation for why the FIFO version of the Line Renderer exists, mainly it is for Lines that need to be repeatedly drawn, rather than "placed.

Detail and sample can be found here https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/324

I'll see about adding the sample to the main UIEXtensions examples and try and get the docs updated for the control