소스 검색

屏蔽文字

lvjincheng 3 년 전
부모
커밋
c85d6ab2bb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 = "联机射箭";
         }
     }