|
@@ -70,7 +70,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
[DllImport("__Internal")]
|
|
|
private static extern void OpenNewWebsite(string str);
|
|
|
|
|
|
- private GameObject zhaMenIconContent;
|
|
|
|
|
|
private void Awake()
|
|
|
{
|
|
@@ -87,7 +86,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
Info_DetailButton.onClick.AddListener(() =>
|
|
|
{
|
|
|
DetailTitleText.text = currentData.name;
|
|
|
- zhaMenIconContent.SetActive(currentData.namePri.Equals("BuYuan"));
|
|
|
OpenAniButton.gameObject.SetActive(currentData.namePri.Equals("BuYuan") ||
|
|
|
currentData.namePri.Equals("TaoKou"));
|
|
|
CloseAniButton.gameObject.SetActive(currentData.namePri.Equals("BuYuan") ||
|
|
@@ -99,7 +97,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
|
|
|
DetailPanel = this.transform.Find("DetailPanel").gameObject;
|
|
|
|
|
|
- zhaMenIconContent = DetailPanel.transform.Find("ZhaMenItemContent").gameObject;
|
|
|
|
|
|
|
|
|
DetailTitleText = DetailPanel.transform.Find("Title").GetComponent<Text>();
|
|
@@ -189,7 +186,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
// Start is called before the first frame update
|
|
|
async void Start()
|
|
|
{
|
|
|
- zhaMenIconContent.SetActive(false);
|
|
|
await InitData();
|
|
|
StaticLod.instance.OnFoucusStatic(0);
|
|
|
CameraManager.SwitchCamera(0);
|
|
@@ -361,7 +357,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
lastPhotoButton.gameObject.SetActive(false);
|
|
|
nextPhotoButton.gameObject.SetActive(false);
|
|
|
|
|
|
- zhaMenIconContent.SetActive(currentData.namePri.Equals("BuYuan"));
|
|
|
|
|
|
OpenAniButton.gameObject.SetActive(currentData.namePri.Equals("BuYuan") ||
|
|
|
currentData.namePri.Equals("TaoKou"));
|
|
@@ -377,8 +372,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
showFrame.texture = null;
|
|
|
lastPhotoButton.gameObject.SetActive(true);
|
|
|
nextPhotoButton.gameObject.SetActive(true);
|
|
|
-
|
|
|
- zhaMenIconContent.SetActive(false);
|
|
|
|
|
|
OpenAniButton.gameObject.SetActive(false);
|
|
|
CloseAniButton.gameObject.SetActive(false);
|
|
@@ -393,8 +386,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
lastPhotoButton.gameObject.SetActive(true);
|
|
|
nextPhotoButton.gameObject.SetActive(true);
|
|
|
|
|
|
- zhaMenIconContent.SetActive(false);
|
|
|
-
|
|
|
OpenAniButton.gameObject.SetActive(false);
|
|
|
CloseAniButton.gameObject.SetActive(false);
|
|
|
downloadPdfButton.gameObject.SetActive(false);
|
|
@@ -409,8 +400,6 @@ public class GCZLLayer : MonoBehaviour
|
|
|
lastPhotoButton.gameObject.SetActive(false);
|
|
|
nextPhotoButton.gameObject.SetActive(false);
|
|
|
|
|
|
- zhaMenIconContent.SetActive(false);
|
|
|
-
|
|
|
OpenAniButton.gameObject.SetActive(false);
|
|
|
CloseAniButton.gameObject.SetActive(false);
|
|
|
downloadPdfButton.gameObject.SetActive(false);
|