ドキュメント

Unity Engine

Unity Engine

startPosition

The start position to slide the Rigidbody2D from.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 startPosition { readonly get; set; }

Remarks

This is used when the Rigidbody2D.SlideMovement.useStartPosition is true and overrides using the current Rigidbody2D.position.