文档

Unity Engine

Unity Engine

useStartPosition

Whether the specified Rigidbody2D.SlideMovement.startPosition should be used or not.
阅读时间1 分钟最后更新于 1 天前

Definition

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.