Dina Posted May 27, 2020 Share Posted May 27, 2020 (edited) When updating PIXI.Text do I have to remove it and create again. I've read the docs but couldn't find another way. Am I missing sth? Like we can just use clear() for updating a rectangle. Edited May 27, 2020 by Dina Quote Link to comment Share on other sites More sharing options...
jonforum Posted May 27, 2020 Share Posted May 27, 2020 https://www.pixiplayground.com/#/edit/ojiiB8en0Lt21fLWrftae update via obj.text Quote Link to comment Share on other sites More sharing options...
Dina Posted May 27, 2020 Author Share Posted May 27, 2020 @jonforum thank you To be honest I don't want to kind of manipulate with the code. I just want to make sure I'm not using removeChild(text) when I could just clear/update somehow Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.