Exemplo n.º 1
0
Arquivo: Mover.cs Projeto: Therlys/tp1
 private Tweener RotateRoutine(Vector3 currentDirection, Vector3 desiredDirection)
 {
     return(parentTransform.DORotateQuaternion(
                Quaternion.LookRotation(desiredDirection),
                hopRotationDuration
                ));
 }