“hujiajun” 6 months ago
parent
commit
c02c982cd6

+ 10 - 0
Assets/GaoJingJiLu.cs

@@ -5,6 +5,7 @@ using static Manager;
 
 public class GaoJingJiLu : UpdateManager
 {
+    public GameObject gjtext;
     public JiLuItem item;
     public List<JiLuItem> items;
     public  void setJILUData(GaoJingListData gj)
@@ -21,6 +22,15 @@ public class GaoJingJiLu : UpdateManager
             go.setData(gj.list[i]);
             items.Add(go);
         }
+        if(gj.list.Count>0)
+        {
+            gjtext.SetActive(false);
+        }
+        else
+        {
+            gjtext.SetActive(true);
+
+        }
     }
     public override void updateData()
     {

File diff suppressed because it is too large
+ 45 - 3
Assets/Scenes/16-9.unity


File diff suppressed because it is too large
+ 45 - 3
Assets/Scenes/16-9green.unity


File diff suppressed because it is too large
+ 6 - 48
Assets/Scenes/32-9.unity


File diff suppressed because it is too large
+ 4 - 46
Assets/Scenes/32-9green.unity


BIN
Assets/StreamingAssets/169red/videobg.png


+ 1 - 1
Assets/StreamingAssets/169red/videobg.png.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 4247479883a064a45bb92d6ba8b5ef9c
+guid: b03735cfb38f146299674e8fef1a3a04
 DefaultImporter:
   externalObjects: {}
   userData: 

BIN
Assets/StreamingAssets/329green/videobg.png


+ 1 - 1
Assets/StreamingAssets/329green/videobg.png.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 54fee98a94f83428fac248df3a5b445a
+guid: 5496baa8d83904bb69b2b05ec80780d0
 DefaultImporter:
   externalObjects: {}
   userData: 

+ 29 - 1
Assets/checkSize.cs

@@ -8,6 +8,34 @@ public class checkSize : MonoBehaviour
     public int lg = 1;
     // Update is called once per frame
     void Update()
-    { this.GetComponent<RectTransform>().sizeDelta = new Vector2(this.GetComponentsInChildren<RawImage>().Length*690/ lg, 450);
+    { 
+        int w =750;
+        if(GetTexture2D.urlbase.Contains("329"))
+        {
+            this.GetComponent<RectTransform>().sizeDelta = new Vector2(this.GetComponentsInChildren<RawImage>().Length*w/ lg, 450);
+
+        }
+        else
+        {
+            
+
+                if(700*6>(this.GetComponentsInChildren<RawImage>().Length*w/ lg))
+                {
+                    this.GetComponent<RectTransform>().sizeDelta = new Vector2(w*6, 900);
+
+                }
+                else
+                {
+                    this.GetComponent<RectTransform>().sizeDelta = new Vector2(this.GetComponentsInChildren<RawImage>().Length*w/ lg, 900);
+                }
+        }
+        if(700*6>(this.GetComponentsInChildren<RawImage>().Length*w/ lg))
+        {
+            this.GetComponent<RectTransform>().sizeDelta = new Vector2(w*6, 900);
+
+        }
+        else
+        {
+        }
     }
 }

BIN
test2/test/Build/test.data.unityweb


BIN
test2/test/Build/test.framework.js.unityweb


BIN
test2/test/Build/test.symbols.json.unityweb


BIN
test2/test/Build/test.wasm.unityweb


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