Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: rainexplorer on December 24, 2017, 07:44:20 PM
-
Hi,
i have gameobjects (not UI), that have touch trigger/detection.
How to disable the all card touch in temporarily, because the action are so fast,
for example :
1) i select first card then rotate
2) i select 2nd card then rotate
3) i select 3rd card <--- i want disable touch here and other cards until 2nd card finish to rotate...
i have try using state flow, but they always passed through string comparison value, i dont know why, please see screenshot below :
(https://i.imgur.com/vnoAJO5.png)
(https://i.imgur.com/G4TOdMS.png)
i have try also untick checkbox in "every frame" but also have no effect...
-
Sorry, I am not sure I completely understand you question. If you want to stop on a state for specific amount of time, you can use the action "Wait".
Is this your question?
-
Hi, no i just want to disable all touch event...
above screenshot means : "because i still not knowing how to disable touch, i try to block all flow triggered by touch event, but strangely it still passed through string comparison"...
-
Hi.
You can make a state before the 'check lock' and place "Mouse Down" as a local, not as a global transition.
then make 2 events (call them "Enable Cards" and "Disable Cards" for example).
Place "Enable Cards" on the "Mouse Down" state as a global.
And place "Disable Cards" on a empty state.
Now you can use "Send Event" to enable disable the cards
-
Hi.
You can make a state before the 'check lock' and place "Mouse Down" as a local, not as a global transition.
then make 2 events (call them "Enable Cards" and "Disable Cards" for example).
Place "Enable Cards" on the "Mouse Down" state as a global.
And place "Disable Cards" on a empty state.
Now you can use "Send Event" to enable disable the cards
Hi, but if i place Mouse_Down as local i can't receive any event
edited: SOLVED