playMaker

Author Topic: Native input for Console & Mobile App  (Read 1283 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Native input for Console & Mobile App
« on: February 07, 2015, 03:10:41 AM »
How to build a native app, where i run in Unity 'Play', it should recognize LEFT Mouse click event, but when i run it via mobile/unity remote, it should recognize tap and trigger the same action (e.g. move left, shoot, etc)

I tried to create myself (as attached), but i found the FINISH is not able to transit back to two different state.

Kindly provide some input.

Thanks

Kiki

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Native input for Console & Mobile App
« Reply #1 on: February 10, 2015, 08:06:32 AM »
Does that check if you are on mobile or not matter? Just join both of the states (idle_mob and idle_nmob) into one state that has both checks in there i.e. if it touched goto bark and if mouse clicked goto bark.

Or simply duplicate that Bark state and link one to mob and the other one to nmob.

Hope any of that helps.