As in topic. How to do it? I dont want to add animation component because i am using blend tree so i dont want to write script to replace animation. I know that animation inherit from animator so maybe can I do it ?
animator.SetTrigger("teleportation");
//wait on finish one of teleportation animation from blend tree
player.GetComponent<Transform>().position = new Vector3(ray.origin.x, ray.origin.y, 0);