direction
The direction of the capsule.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public int direction { get; set; }
Remarks
The value can be 0, 1 or 2 corresponding to the X, Y and Z axes, respectively.