Layer Issue
ashriot
Member Posts: 8
I am trying to create a concept of actors that are hidden behind other actors until you discover a way to show them. They come animating out from behind the actor and you can click them.
The problem is, you are able to click them when they are still hidden! Even when I made a boolean that determined whether or not the clickable actors were showing, if you clicked before showing them nothing would happen.... but as soon as you show the actor, they instantly click! It's like it registers the click but waits for the other half of the rule (the boolean to be true) to be complete before actually registering the click...
Sorry if that's confusing, but this problem is really irritating. Due to the way this is set up, it's not really feasible for me to simply move the button offscreen, it needs to be nestled behind another actor.
The problem is, you are able to click them when they are still hidden! Even when I made a boolean that determined whether or not the clickable actors were showing, if you clicked before showing them nothing would happen.... but as soon as you show the actor, they instantly click! It's like it registers the click but waits for the other half of the rule (the boolean to be true) to be complete before actually registering the click...
Sorry if that's confusing, but this problem is really irritating. Due to the way this is set up, it's not really feasible for me to simply move the button offscreen, it needs to be nestled behind another actor.
Comments
You're going to have to do some trickery with invisible buttons that show/hide actors. put all the code on the invisible triggers.
Try clicking the green box before and after raising the UI. It should only click when its up, not down (then as soon as it goes up)!
But yeah, like that! When the UI is down, it shouldn't respond to touch... Any idea what is wrong?