flipX
Flips the sprite on the X axis.
阅读时间1 分钟最后更新于 1 个月前
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).