Playmaker Forum
PlayMaker News => General Discussion => Topic started by: kentcheung2000 on January 25, 2019, 01:13:37 PM
-
Hi,
I am using on click events to activate a button. If it is on mobile devices, is it the same as touch?
If it is not the same, what action I can use to simulate a touch events?
-
Hi,
no, the UI system uses a concept called Pointer, which includes touches but not only,
If you want to simulate touch events, you need to use Unity Remote with your device: https://docs.unity3d.com/Manual/UnityRemote5.html
Bye,
Jean
-
Unity UGUI buttons will detect both clicks and touches without any fuss, the onClick playmaker event will work just fine, is the gui button itself that sends that event not the mouse itself...