瀏覽代碼

b端初始值

slambb 10 月之前
父節點
當前提交
2e59daff2e
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Assets/BowArrow/InfraredCamera/InfraredDemo.cs

+ 4 - 0
Assets/BowArrow/InfraredCamera/InfraredDemo.cs

@@ -766,6 +766,10 @@ public class InfraredDemo : JCUnityLib.ViewBase
         _duckLevelDropdown.SetValueWithoutNotify(defLevel);
         _duckLevelDropdown.onValueChanged.AddListener(SetDuckLevelTest);
 
+        //b端设置偏移值
+        if (CommonConfig.StandaloneModeOrPlatformB) {
+            InitCenterOffset();
+        }
     }