Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: naktim0819 on June 16, 2013, 09:26:00 PM
-
This is I try to do but it's fail
I want to get the first and last I swipe up 's Y position
the use last Y to sub the first Y point
but I use that action to get . It's get nothing~
I have use Gui text to check my 2 value
It's always 0
Did I do worng?
-
Hi,
Have you properly added the input touch proxy for playmaker in your scene? and have you checked the swipe check box to allow for listening to swipe events?
bye,
Jean
-
hey jean! hi
Yes I have put that in my scene
is that right?
it's not move~~~~~
-
Hi,
Difficult to say. pm me with your packaged scene, and I'll have a look.
bye,
Jean
-
Hey, was this resolved? I just started using input.touches and am getting null reference errors that don't allow any testing. Going to reset and check but this pops up.
Using Unity 4.1.5f
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.Actions.InputTouchesGetSwipeInfo.OnEnter () (at Assets/PlayMaker Input Touches/Internal/Actions/InputTouchesGetSwipeInfo.cs:61)
HutongGames.PlayMaker.FsmState.OnEnter ()
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState)
HutongGames.PlayMaker.Fsm.UpdateStateChanges ()
HutongGames.PlayMaker.Fsm.Start ()
PlayMakerFSM.Start ()
-
I'm also getting a NullReferenceException (in latest, 4.2.2 version). :(
EDIT: 2:20am is a bit too late, didn't notice first that the Swipe event was missing. :) NullRef seems to come up only when there is no event to pass the info to.