x


Swipe & gesture controls for android

Hi all,

as this controls are all over the iphone side, i was wondering how to modifiy these codes to work on android?

need swipe controls to control rotation of a certain object, as well as pinch to zoom

thanks

more ▼

asked Dec 01 '10 at 03:24 AM

Gary 2 gravatar image

Gary 2
18 8 8 10

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Use the Iphone fuctions for Android as well. They are interchangeable. For example, IphoneUtils.Vibrate(); works for the Iphone and Androids...

They just have not gotten around to renaming and documenting the Android Unity functions.

more ▼

answered Dec 24 '10 at 07:44 AM

kedar gravatar image

kedar
41 1

Use Input - example Input.touches etc

Dec 24 '10 at 07:52 AM ina

so like all the script from iphone can be used for android without the need for modifying?

Dec 28 '10 at 06:58 AM Gary 2
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2479
x141
x68
x16

asked: Dec 01 '10 at 03:24 AM

Seen: 5298 times

Last Updated: Dec 01 '10 at 03:24 AM