slambb 1 gadu atpakaļ
vecāks
revīzija
2e59daff2e
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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();
+        }
     }