Hi,
I'd like the player to be able to click anywhere on the screen to first advance the typewriter effect, and then skip to the next line. I've been following the 'Unity GUI Dialogue UI section' in the doc about this, and made a fullscreen button, but am struggling to figure out the "make the continue button invisible" bit. How exactly do I do this?
So far I've only found the 'invisible' checkbox (near the bottom, above 'Clip Children') in the GUIControl script on the button itself, but when unchecked the button doesn't work at all. What am I doing wrong? how do I make an invisible button?
Trouble making continue buttons invisible
-
- Posts: 15
- Joined: Sat Feb 07, 2015 5:52 am
Trouble making continue buttons invisible
Hi,
Check these:
- Set Text to a single blank space. (This usually does the trick.)
- Make sure no textures are assigned to the button states (Disabled, Normal, etc.).
- Set Gui Style Name to a button style in your GUI skin that doesn't have any textures assigned.
You may want to temporarily assign a semi-transparent texture in the GUI skin to make sure the button correctly covers the whole screen and responds to clicks. Once it's working, unassign the texture.
Check these:
- Set Text to a single blank space. (This usually does the trick.)
- Make sure no textures are assigned to the button states (Disabled, Normal, etc.).
- Set Gui Style Name to a button style in your GUI skin that doesn't have any textures assigned.
You may want to temporarily assign a semi-transparent texture in the GUI skin to make sure the button correctly covers the whole screen and responds to clicks. Once it's working, unassign the texture.
-
- Posts: 15
- Joined: Sat Feb 07, 2015 5:52 am
Trouble making continue buttons invisible
Ah, sweet relief! That's been doing my head in all day.
Thanks for your help
Thanks for your help
Trouble making continue buttons invisible
Happy to help!