Bläddra i källkod

去掉3D主页闸门ICON

Void_F 8 månader sedan
förälder
incheckning
3760456210
2 ändrade filer med 281 tillägg och 431 borttagningar
  1. 281 420
      Assets/Prefabs/UI/3D/GCZL.prefab
  2. 0 11
      Assets/Scripts/UI/UIView/3D/GCZLLayer.cs

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 281 - 420
Assets/Prefabs/UI/3D/GCZL.prefab


+ 0 - 11
Assets/Scripts/UI/UIView/3D/GCZLLayer.cs

@@ -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);

Vissa filer visades inte eftersom för många filer har ändrats