Ivanna

Text 'renderable' property being set to true somehow

Recommended Posts

I have text in my game that I would like to hide at certain points and show at others. I'm doing this by setting text.renderable to false. This is somehow being set to true after I set it to false and I have no idea how. It's definitely not being set to true by me, it must be a secondary effect of something else going on. Is this not the correct way to show/hide text? Thanks.

Share this post


Link to post
Share on other sites

I was only changing `renderable` and not touching `visible` at all. Switching from `renderable` to `visible` in all cases made things work as I want, so thanks! I'm still a little confused about what was changing the property but I'm happy that I have it working now.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.