“_uiProps”已弃用。ts(6385)
cc.d.ts(22327, 12): 该声明曾在此处标记为已弃用。
(property) Node._uiProps: __private._cocos_core_scene_graph_node_ui_properties__NodeUIProperties
@deprecated — since v3.5.0, this is an engine private interface that will be removed in the future.
没有可用的快速修复
this._itemTemplateUITrans = rankItemNode._uiProps.uiTransformComp!;
this._contentUITrans = this._content._uiProps.uiTransformComp!;
h = his._itemTemplateUITrans.height
结果没有办法获得height的值,会报错
请问 _uiProps被弃用后,上面的代码应该如何使用
cocos creator 3.5.0版本
