2

I'm using the code from here to create a quickaction.

I'm coding a game and I want to use quickaction function as menu. So, when the user click on "Pause" I want to remove or disable to click "Reset" button..

or if you have a better idea than mine, I can change, but I have no space on screen while gaming and because of that I want to use menu button, then on screen I'll use just one button and its enough for me.

Of course with this menu I'm going to remove some buttons too.

Gavin Miller
  • 43,168
  • 21
  • 122
  • 188
LikePod
  • 300
  • 1
  • 4
  • 17

1 Answers1

0

You can create a new instance of QuickAction when you click the button, but don't include the 'Reset' button this time.

Mehdiway
  • 10,337
  • 8
  • 36
  • 68