Example #1
0
File: Mover.cs Project: Therlys/tp1
 private Tweener RotateRoutine(Vector3 currentDirection, Vector3 desiredDirection)
 {
     return(parentTransform.DORotateQuaternion(
                Quaternion.LookRotation(desiredDirection),
                hopRotationDuration
                ));
 }