人生啊人生 před 1 týdnem
rodič
revize
b82a303d59

+ 10 - 0
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEvent.js

@@ -751,6 +751,16 @@ export class QingXiCheAndQvCarEvent {
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
         QingXiCheAdnQvCarEventStep.find().meshVisibility("行至车辆区域", true);
+
+        CommonGuiDbListTwo.find().addOrUpdate("addOrUpdate_1",
+            new BABYLON.Vector3( 5.936225679133575, 0, -12.604728552806394 ), 3, 173, 68 * 2, { "code" : "addOrUpdate_1" },
+            function(res) { console.log("自定义回调数据点击回调", res); },
+            [
+                { "type" : "title", "value" : "温馨提示", "height" : 30, "rectangleColor" : "#a9d5ff", "fontColor" : "#FFFFFF", "fontSize" : 10, "background" : "#a9d5ff", },
+                { "tagName" : "按照箭头方向", "text" : "行走至车辆区域", "type" : "switch", "value" : 1, "unit" : null, "height" : 30, "rectangleColor" : "#000000", "left_fontColor" : "#FFFFFF", "left_fontSize" : 12, "left_background" : "#00d800", "right_fontColor" : "#FFFFFF", "right_fontSize" : 12, "right_background" : "#ffffff", },
+            ],
+            false
+        );
         
         // 切换到人物的视角
         // objThreeWorldEventMain.commonBirthplaceUpdate();

+ 2 - 0
src/utils/common/CommonGuiDbListTwo.js

@@ -881,6 +881,8 @@ export class CommonGuiDbListTwo {
      */
     cameraRadiusBool = function(position) {
 
+        return true;
+
         var objEngine = this.objEngine;
         var objScene = this.objScene;
         var BABYLON = this.BABYLON;