|
|
@@ -20,14 +20,17 @@ window.onModelControlled = function () {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+//更新配置
|
|
|
+window.changePanel = function (index) {
|
|
|
+ window.unityInstance.SendMessage('MainCanvas', 'RefreshConfig')
|
|
|
+}
|
|
|
|
|
|
//切换背景图 (0目录页, 1玄石可观, 2石上春秋, 3碑刻密码, 4模型鉴赏) 这些名字对应的蓝湖设计的标题
|
|
|
window.changePanel = function (index) {
|
|
|
window.unityInstance.SendMessage('MainCanvas', 'ChangePanel', index)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
//聚焦热点, 对应玄石可观中的热点, 在调用之前需要先调用changPanel(1), 退出页面时需要调用showHotspot(-1)
|
|
|
window.showHotspot = function (index) {
|
|
|
window.unityInstance.SendMessage('MainCanvas', 'ShowHotspot', index)
|