滚动说明

This commit is contained in:
xu_yanfeng 2025-02-21 14:43:46 +08:00
parent 1b4ed71d50
commit da69fb227d

View File

@ -60,12 +60,19 @@ export default defineComponent({
};
timer.name = "devtools";
onMounted(() => {
ccui.footbar.showTipsArray({
tips: [
"Press space in the hierarchy to quickly control the display and hiding of nodes", //
"If you encounter any problems during use, please feel free to contact me",
],
});
const zh = !!navigator.language.startsWith("zh");
const tips: string[] = zh
? [
"在层级中按空格快速控制显示和隐藏节点", //
"如果遇到任何问题,欢迎联系我",
"在游戏界面快速拾取节点Inspect Game可以快速在节点树中定位",
"打开QQ频道全球的cocoserweb在线交流",
]
: [
"Press space in the hierarchy to quickly control the display and hiding of nodes", //
"If you encounter any problems during use, please feel free to contact me",
];
ccui.footbar.showTipsArray({ tips });
ccui.footbar.registerCmd({
icon: "github",
cb: () => {