声明 func IsSleeping(target entity<Rigidbody>) bool go 参数 输入 名称 类型 描述 目标 Rigidbody 目标刚体 返回 类型 描述 Bool 是否正在休眠