Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Tomleung on March 16, 2014, 01:04:40 PM

Title: Problems about rotatePlacedObject on ExampleDragDropSurface
Post by: Tomleung on March 16, 2014, 01:04:40 PM
Hello!

Here is my problem.

The script "ExampleDragDropSurface" has a boolean "rotatePlacedObject".

I want to know is that is it worked because I can't find any control to do this way?

And I need to use some control ways to rotate Placed Object like long press,double tap,short tap...

Is it directly possible to do the above actions for now?

Thanks!
Title: Re: Problems about rotatePlacedObject on ExampleDragDropSurface
Post by: ArenMook on March 17, 2014, 01:19:16 AM
It's an Example script -- meaning its code is meant to be modified to suit your needs. In that particular instance, that flag controls whether the object will be rotated based on the normal of the surface it's placed on.