Selaa lähdekoodia

主页(隐藏版本号、投屏)

lvjincheng 3 vuotta sitten
vanhempi
sitoutus
e1be7e3384

+ 1 - 0
Assets/BowArrow/Scripts/View/Home/HomeView.cs

@@ -20,6 +20,7 @@ public class HomeView : JCUnityLib.ViewBase
 
     void Awake() {
         gameVersion.text = "V" + Application.version;
+        gameVersion.gameObject.SetActive(false); //隐藏版本号
         if (CommonConfig.needToExamine) {
             transform.Find("LeftPanel/Item (1)").gameObject.SetActive(false);
             transform.Find("RightPanel/Item/Text").GetComponent<TextAutoLanguage>().SetText(1234562);

+ 2 - 2
Assets/BowArrow/Scripts/View/TopBarView.cs

@@ -33,11 +33,11 @@ public class TopBarView : JCUnityLib.ViewBase
                 }
             }
         }
-        if (Application.platform == RuntimePlatform.IPhonePlayer) {
+        // if (Application.platform == RuntimePlatform.IPhonePlayer) {
             Transform diamond = transform.Find("TopBar/Item");
             diamond.localPosition += Vector3.right * 87;
             transform.Find("TopBar/IconLebo").gameObject.SetActive(false);
-        }
+        // }
         CheckNeewShowDiamond();
     }