mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
@@ -213,7 +213,7 @@ var RigidBody = cc.Class({
|
||||
this._allowSleep = value;
|
||||
|
||||
if (this._b2Body) {
|
||||
this._b2Body.SetAllowSleeping(value);
|
||||
this._b2Body.SetSleepingAllowed(value);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user