startPosition
The start position to slide the Rigidbody2D from.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Vector2 startPosition { readonly get; set; }
Remarks
This is used when the _useStartPosition is true and overrides using the current _position.