Version: 2023.1
public void SetStartPosition (Vector2 position);

参数

position The position to use.

描述

A helper method that simultaneously sets both the Rigidbody2D.SlideMovement.startPosition to the specified /position but also sets Rigidbody2D.SlideMovement.useStartPosition to true.