ソースを参照

大屏水位模拟

Void_F 9 ヶ月 前
コミット
b9539c7b4e
2 ファイル変更366 行追加590 行削除
  1. 332 590
      Assets/Scene 1.unity
  2. 34 0
      Assets/Scripts/UI/UIView/BigScreen/BigScreenLayer.cs

ファイルの差分が大きいため隠しています
+ 332 - 590
Assets/Scene 1.unity


+ 34 - 0
Assets/Scripts/UI/UIView/BigScreen/BigScreenLayer.cs

@@ -22,6 +22,8 @@ public class BigScreenLayer : MonoBehaviour
     public Button clearBtn;
     public Button exitBtn;
     public Button exitJJBtn;
+    public Button ddysButton;
+    public Button exit_ddysButton;
 
     public GameObject gk;
     public GameObject normal;
@@ -40,6 +42,8 @@ public class BigScreenLayer : MonoBehaviour
     public ObsPlayerPanel obsPlayerPanel;
     private InputField _obsSearchInputField;
 
+    public GameObject WaterRangeCtrlPanel;
+    
 
     async void Start()
     {
@@ -82,6 +86,7 @@ public class BigScreenLayer : MonoBehaviour
             normalButton.gameObject.SetActive(false);
             gkButton.gameObject.SetActive(false);
             clearBtn.gameObject.SetActive(false);
+            ddysButton.gameObject.SetActive(false);
         });
         exitBtn.onClick.AddListener(() =>
         {
@@ -91,6 +96,7 @@ public class BigScreenLayer : MonoBehaviour
             normalButton.gameObject.SetActive(true);
             gkButton.gameObject.SetActive(true);
             clearBtn.gameObject.SetActive(true);
+            ddysButton.gameObject.SetActive(true);
         });
 
         exitJJBtn.onClick.AddListener(() =>
@@ -98,6 +104,34 @@ public class BigScreenLayer : MonoBehaviour
             normal.gameObject.SetActive(true);
             gk.gameObject.SetActive(false);
         });
+        
+        ddysButton.onClick.AddListener(() =>
+        {
+            StaticLod.instance.OnFoucusStatic(-1);
+            
+            normal.gameObject.SetActive(false);
+            gk.gameObject.SetActive(false);
+            normalButton.gameObject.SetActive(false);
+            gkButton.gameObject.SetActive(false);
+            clearBtn.gameObject.SetActive(false);
+            WaterRangeCtrlPanel.SetActive(true);
+            
+        });
+        exit_ddysButton.onClick.AddListener(() =>
+        {
+            StaticLod.instance.OnFoucusStatic(0);
+            WaterRangeCtrlPanel.SetActive(false);
+            normal.gameObject.SetActive(true);
+            gk.gameObject.SetActive(false);
+            exitBtn.gameObject.SetActive(false);
+            normalButton.gameObject.SetActive(true);
+            gkButton.gameObject.SetActive(true);
+            clearBtn.gameObject.SetActive(true);
+            ddysButton.gameObject.SetActive(true);
+            
+        });
+    // public Button ddysButton;
+    // public Button exit_ddysButton;
     }
 
     async Task InitData()

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません