기술 자료

Unity Engine

Unity Engine

useStartPosition

Whether the specified Rigidbody2D.SlideMovement.startPosition should be used or not.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useStartPosition { readonly get; set; }

Remarks

When false, the Rigidbody2D.SlideMovement.startPosition will not be used but instead the current Rigidbody2D.position will be used.
When true, the specified Rigidbody2D.SlideMovement.startPosition will be used.