diff --git a/cocos/scene-graph/node.jsb.ts b/cocos/scene-graph/node.jsb.ts index 14bef97039e..e686de1ac1e 100644 --- a/cocos/scene-graph/node.jsb.ts +++ b/cocos/scene-graph/node.jsb.ts @@ -1377,6 +1377,10 @@ nodeProto._instantiate = function (cloned: Node, isSyncedNode: boolean) { return cloned; }; +nodeProto._getUITransformComp = function () { + return this._uiProps.uiTransformComp; +}; + nodeProto._onSiblingIndexChanged = function (index) { const siblings = this._parent._children; index = index !== -1 ? index : siblings.length - 1; diff --git a/package-lock.json b/package-lock.json index 3817977f0fc..eb88f9f0554 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@babel/plugin-proposal-class-properties": "^7.18.6", "@cocos/box2d": "1.0.1", "@cocos/cannon": "1.2.8", - "@cocos/ccbuild": "^2.3.2", + "@cocos/ccbuild": "^2.3.5", "@cocos/dragonbones-js": "^1.0.1" }, "devDependencies": { @@ -2063,9 +2063,9 @@ } }, "node_modules/@cocos/ccbuild": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@cocos/ccbuild/-/ccbuild-2.3.2.tgz", - "integrity": "sha512-2lBXtghYuIVdF+j0V5j6VcwS79XcSt52NhhpBh6X8WdruimmRBgAUn5oEMVFMRx4O+QzoIxejGkYRkw+p5T/pw==", + "version": "2.3.5", + "resolved": "https://registry.npmmirror.com/@cocos/ccbuild/-/ccbuild-2.3.5.tgz", + "integrity": "sha512-/U9WqOkorcjNR2kzCElVOqxuHmKDJyqhok/7eUiF8u+EfshuTkjyJ6uA5toX9ZJn1adSXzIjvGl66hNZrNmOzA==", "license": "MIT", "workspaces": [ "./modules/*" diff --git a/package.json b/package.json index a56a191a38e..8d3d72fc1c5 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "@babel/plugin-proposal-class-properties": "^7.18.6", "@cocos/box2d": "1.0.1", "@cocos/cannon": "1.2.8", - "@cocos/ccbuild": "^2.3.2", + "@cocos/ccbuild": "^2.3.5", "@cocos/dragonbones-js": "^1.0.1" } }