文档

Unity Engine

Unity Engine

speed

The speed to be maintained along the surface.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float speed { get; set; }

Remarks

This speed will be maintained by applying continually applying impulse forces to the target Rigidbody2D.