Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Grave_sts on January 26, 2012, 01:50:30 AM
-
Hey all~
I am using EZGUI and playmaker in a point and click game. The one problem I have encounter however is that when I click on the GUI element the character moves to that position :< - I have tried several approaches but I seem to be missing the point ;)
Thanks in advance~ :)
-
I haven't used EZGUI, but came across this in Unity Answers:
In EZGUI when I want to do this I place an invisible button that is disabled behind the GUI that overlays the main GUI so click-throughs cannot occur.
Unity Answers thread on this topic:
http://answers.unity3d.com/questions/53629/prevent-a-click-from-going-through-gui-buttons.html
You could implement some of those ideas in Playmaker too. E.g., have your GUI code set a flag that your world click code checks.
Seems trickier than you'd expect to get this working in Unity... :-\
-
Thanks ^^ You just made my day :P