文档

Unity Engine


User Manual

Script Reference

Unity Engine


IsSleeping()

Is the rigidbody sleeping?
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public bool IsSleeping()

Returns

Type

Description

bool

Remarks

See the Physics Overview in the manual for more information about Rigidbody sleeping.