Esempio n. 1
0
 // Update is called once per frame
 void Update()
 {
     if (input.axis != Vector3.zero)
     {
         moving.Rotate(input.axis, content.width);
     }
 }
Esempio n. 2
0
 // Update is called once per frame
 void Update()
 {
     if (input.axis != Vector3.zero && input.axis != null)
     {
         if (moving.coroutine_animation == null)
         {
             // if (moving.IsFreePath(input.axis))
             // {
             moving.Rotate(input.axis, content.width);
             // }
             //else
             //{
             //    moving.Rotate(moving.GetFreePath(), content.width);
             //}
         }
     }
 }