V1.5版本
1.增加初始运行时默认选择一个初始视角的点位 2.左侧滚动视图的定位按钮区域变为整个按钮可点击进行定位 3.高亮选中后,闪烁几秒并保留高亮效果
This commit is contained in:
parent
040ad8958f
commit
7762337cc7
Binary file not shown.
Binary file not shown.
Binary file not shown.
24
index.html
24
index.html
@ -174,19 +174,19 @@
|
||||
// 例如:向服务器发送数据、更新页面UI等
|
||||
|
||||
// 示例:显示消息到页面(可删除)
|
||||
if (typeof message === 'string' && message.trim()) {
|
||||
//const messageDiv = document.createElement('div');
|
||||
//messageDiv.style.cssText = 'position:fixed;top:10px;right:10px;background:#333;color:#fff;padding:10px;border-radius:5px;z-index:9999;max-width:300px;';
|
||||
//messageDiv.textContent = '来自Unity: ' + message;
|
||||
//document.body.appendChild(messageDiv);
|
||||
// if (typeof message === 'string' && message.trim()) {
|
||||
// //const messageDiv = document.createElement('div');
|
||||
// //messageDiv.style.cssText = 'position:fixed;top:10px;right:10px;background:#333;color:#fff;padding:10px;border-radius:5px;z-index:9999;max-width:300px;';
|
||||
// //messageDiv.textContent = '来自Unity: ' + message;
|
||||
// //document.body.appendChild(messageDiv);
|
||||
|
||||
// 3秒后自动移除
|
||||
setTimeout(() => {
|
||||
if (messageDiv.parentNode) {
|
||||
messageDiv.parentNode.removeChild(messageDiv);
|
||||
}
|
||||
}, 3000);
|
||||
}
|
||||
// // 3秒后自动移除
|
||||
// setTimeout(() => {
|
||||
// if (messageDiv.parentNode) {
|
||||
// messageDiv.parentNode.removeChild(messageDiv);
|
||||
// }
|
||||
// }, 3000);
|
||||
// }
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user