flipX
Flips the sprite on the X axis.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool flipX { get; set; }
Remarks
Only the rendering is affected. Use negative scale, if you want to affect all the other components (for example colliders).