ドキュメント

Unity Engine

Unity Engine

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).