unity create vector from two points code example Example: vector between two points unity Vector3 newVector = targetPoint - initialPoint;