文档

Unity Engine

Unity Engine

flipY

Flips the sprite on the Y axis.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool flipY { get; set; }

Remarks

Only the rendering is affected. Use negative scale, if you want to affect all the other components (for example colliders).