기술 자료

Unity Engine

Unity Engine

startPosition

The start position to slide the Rigidbody2D from.
읽는 시간 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.