[v3.8.6] Fix node._getUITransformComp not found on native platforms. (#18191)

* [v3.8.6] Fix node._getUITransformComp not found on native platforms.

* Update ccbuild to 2.3.5
This commit is contained in:
James Chen
2025-01-14 18:44:40 +08:00
committed by GitHub
parent 2d95c3218b
commit 63ebf5ce20
3 changed files with 9 additions and 5 deletions
+4
View File
@@ -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;
+4 -4
View File
@@ -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/*"
+1 -1
View File
@@ -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"
}
}