ドキュメント

Unity Engine

Unity Engine

SetStartPosition(Vector2)

A helper method that simultaneously sets both the Rigidbody2D.SlideMovement.startPosition to the specified /position but also sets Rigidbody2D.SlideMovement.useStartPosition to true.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public void SetStartPosition(Vector2 position)

Parameters

position

The position to use.

Remarks