playMaker

Author Topic: DISABLE TOUCH ON GUI Elements  (Read 1702 times)

brunomandolesi

  • Playmaker Newbie
  • *
  • Posts: 4
DISABLE TOUCH ON GUI Elements
« on: April 28, 2013, 06:46:03 AM »
Hi,

I have a scene containing a PlaymakerGUI which loads in a prefab with another PlaymakerGUI on top.
How can i "disable" the underlaying PlaymakerGUI element?
Is there any way to block touch events passing through to the PlaymakerGUI underneath?

Any suggestions are very welcome!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: DISABLE TOUCH ON GUI Elements
« Reply #1 on: May 13, 2013, 05:48:47 AM »
Hi,

You will have to create different states for this, one state where your ui element respond to touch and one where it's not, else call a global event and then check wether you can perform the action or not.

bye

Jean