N
N
Nikola_y2014-11-30 21:05:02
Unity
Nikola_y, 2014-11-30 21:05:02

Character control via phone in Unity3d?

how to make control from the screen on a mobile device on a unity
windows android apple
Either by tapping, maybe the control zones in the direction
or something like a joystick on the screen
Through which function is it better
to add to getAxis, and if so what exactly
In general, how to implement character control from a mobile devices I
use unity and c#
Thanks

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan Khlopianik, 2014-12-01
@Nikola_y

Input.GetTouch and others
docs.unity3d.com/ScriptReference/Input.GetTouch.html
Everything is in the documentation (search for Touch).
docs.unity3d.com/ScriptReference/Input.html

N
Nikola_y, 2014-12-01
@Nikola_y

Or via joystick
So you can implement it by creating a zone for the joystick on the screen
. Is it possible?
Or Mouse will go?
Of course, I think that I can’t find something, but I can’t find
where to find it either =)

K
Konstantin Kitmanov, 2014-12-01
@k12th

We make a server, connect to it from the game and from the application on the phone.
We send commands from the application to the server, the server sends them to the game.

D
Daniil Basmanov, 2014-12-01
@BasmanovDaniil

Get yourself Sample Assets , there are a bunch of ready-made controllers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question