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