Documentation

Unity Engine

Download Unity

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.
Read time 1 minuteLast updated 2 days ago

Definition

public void SetStartPosition(Vector2 position)

Parameters

position

The position to use.

Remarks