|
This is related to my previous question, but maybe the method I asked of removing the component is not right. Suppose you have a global
(comments are locked)
|
|
I think you should keep the LineRender object, if possible. But if you use the Destroy you have to init it with a new fresh object, I think. I would look at LineRender object at see if there is a "Clear" function. I have searched a little but didnt find it, so perhaps the only way is to destroy the current instance and then initate a fresh new one?
(comments are locked)
|
