- Home /
Question by
JonWag · Dec 12, 2014 at 01:26 AM ·
C# 2D tilt right left Control on Iphone
I Have no idea how to even begin with this. I have a cube on the screen and i want to be able to move it right and left by tilting the device. It is held horizontally. I am new to coding for the Iphone and i would really appreciate some help. Thanks!
Comment
Answer by taxvi · Dec 12, 2014 at 09:16 AM
look at the Unity's Gyroscope references there are some examples there
I'm not very clear on how to use these could you give me example code of moving right and left by tilting?
Your answer