disable button
uovokinder
Member Posts: 2
Hello guys! I'm new and I'm starting to create the draft of my game:)
I have a question that surely will be trivial, but I can not get out!
how do I disable a button (without destroying it)?
Thanks to all
congratulations to all staff!
I have a question that surely will be trivial, but I can not get out!
how do I disable a button (without destroying it)?
Thanks to all
congratulations to all staff!
Comments
If so, use attributes.
Create a boolean 'clickable'
On the actor that you want to disable just make a rule that when the attribute 'clickable' is true and put the behaviours (or whatever you have on the actor) into that rule.
This means that when something makes the attribute 'clickable' false, it won't do anything and will just display an image.
I really don't know what you want to do so that was the best I could explain it.
thanks, I not thought of this solution!
you rock!