Browse Source

屏蔽文字

lvjincheng 3 years ago
parent
commit
c85d6ab2bb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Assets/BowArrow/Scripts/View/HomeView.cs

+ 2 - 0
Assets/BowArrow/Scripts/View/HomeView.cs

@@ -17,6 +17,8 @@ public class HomeView : MonoBehaviour
     void Awake() {
         if (CommonConfig.needToExamine) {
             GameObject.Find("LeftPanel/Item (1)").gameObject.SetActive(false);
+            GameObject.Find("RightPanel/Item/Text").GetComponent<Text>().text = "开始射箭";
+            GameObject.Find("RightPanel/Item (1)/Text").GetComponent<Text>().text = "联机射箭";
         }
     }