Browse Source

UI样式修改

DGJ 2 months ago
parent
commit
9f76f63077
3 changed files with 6 additions and 48 deletions
  1. 1 43
      Assets/Scenes/Game.unity
  2. 3 3
      Assets/TextLogCheck.cs
  3. 2 2
      Assets/task 1.asset

File diff suppressed because it is too large
+ 1 - 43
Assets/Scenes/Game.unity


+ 3 - 3
Assets/TextLogCheck.cs

@@ -16,7 +16,7 @@ public class TextLogCheck : MonoBehaviour
     {
         center.SetActive(false);
         Text t = this.GetComponent<Text>();
-
+       
         for (int i = 0; i < tm.tconfigs.Count; i++)
         {
             if(i<=tm.nowTaskCt)
@@ -28,10 +28,10 @@ public class TextLogCheck : MonoBehaviour
                         if(!tm.tconfigs[i].TaskList[j].isNoshow)
                         {
                             if (tm.iidex == 1 && tm.tconfigs[i].TaskList[j].info2 != "")
-                                t.text += "\n" + tm.tconfigs[i].TaskList[j].info2 + "\n";
+                                t.text +=  tm.tconfigs[i].TaskList[j].info2 + "\n";
                             else
                             {
-                                t.text += "\n" + tm.tconfigs[i].TaskList[j].info + "\n";
+                                t.text +=  tm.tconfigs[i].TaskList[j].info + "\n";
 
                             }
                         }

+ 2 - 2
Assets/task 1.asset

@@ -1313,7 +1313,7 @@ MonoBehaviour:
   - xiansuos: []
     type: 0
     isNoshow: 0
-    info: "\u77F3\u9E92\u9E9F\uFF1A\u201C\u8BB0\u7740\u554A\uFF0C\u4F60\u5728\u624B\u673A\u91CC\u770B\u5230\u7684\u4E1C\u897F\uFF0C\u5173\u4E86\u6444\u50CF\u5934\u5C31\u6CA1\u4E86\uFF0C\u8981\u60F3\u518D\u770B\uFF0C\u5C31\u5F97\u56DE\u4F60\u521A\u624D\u7684\u4F4D\u7F6E\u4ECE\u5934\u6765\uFF0C\u3002\u201D"
+    info: "\u77F3\u9E92\u9E9F\uFF1A\u201C\u8BB0\u7740\u554A\uFF0C\u4F60\u5728\u624B\u673A\u91CC\u770B\u5230\u7684\u4E1C\u897F\uFF0C\u5173\u4E86\u6444\u50CF\u5934\u5C31\u6CA1\u4E86\uFF0C\u8981\u60F3\u518D\u770B\uFF0C\u5C31\u5F97\u56DE\u4F60\u521A\u624D\u7684\u4F4D\u7F6E\u4ECE\u5934\u6765\u3002\u201D"
     info2: 
     bgName: two_main_bg
     imgName: two_main_bg
@@ -1377,7 +1377,7 @@ MonoBehaviour:
   - xiansuos: []
     type: 4
     isNoshow: 0
-    info: "\u8BF7\u5C06\u6444\u50CF\u5934\u5BF9\u51C6\u4E94\u4ED9\u96D5\u50CF\u5DE6\u4FA7                                 
+    info: "\u8BF7\u5C06\u6444\u50CF\u5934\u5BF9\u51C6\u4E94\u4ED9\u96D5\u50CF\u5DE6\u4FA7\u6728\u684C\u4E0A\u7684\u7965\u4E91\u56FE\u6848\uFF1B                                 
       \u6728\u684C\u4E0A\u7684\u7965\u4E91\u56FE\u6848"
     info2: 
     bgName: two_main_bg

Some files were not shown because too many files changed in this diff