文档

Unity Engine

Download Unity

Unity Engine

speed

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

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.