get vector unit direction code example Example: get vector direction unity Vector3 pos = direction.eulerAngles