unity get 2d vector position from 2 positions code example Example: vector between two points unity Vector3 newVector = targetPoint - initialPoint;