Not able to use a Vector as a condition in Mecanim?

In Mecanim, when I go to a state’s transition to attempt to add a Vector parameter as a condition, it isn’t shown in the dropdown list. Bools/ints/floats show up fine, but Vectors don’t show up at all. I can’t think of a reason why they wouldn’t be there. Is this a bug, intentional or am I doing something wrong?


Vectors aren’t (yet) supported in conditions.

If you can’t use vectors, you could setup three properties that get and set the x, y, and z components of a vector.

    private Vector3 myVector;
    public float myVectorX {
         get {
              return myVector.x;
         set {
              myVector = new Vector3(value, myVector.y, myVector.z);