Documentation

Unity Engine

Download Unity

Unity Engine

direction

The direction of the capsule.
Read time 1 minuteLast updated 5 hours ago

Definition

public int direction { get; set; }

Remarks

The value can be 0, 1 or 2 corresponding to the X, Y and Z axes, respectively.