“hujiajun” 3 months ago
parent
commit
22d2dc8c9d

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


+ 9 - 0
Assets/SheBeiShiShiType.cs

@@ -52,5 +52,14 @@ public class SheBeiShiShiType : UpdateManager
                 data4.data[1] = total;
                 lixiantext.text = msg["data"]["offline"].ToString()+"台";
        });
+
+    }
+    public override void updateAnimation()
+    {
+        base.updateAnimation();
+        runrc.AnimationFadeIn();
+        guzhangrc.AnimationFadeIn();
+        daijirc.AnimationFadeIn();
+        lixianrc.AnimationFadeIn();
     }
 }

+ 8 - 0
Assets/StreamingAssets/Main.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: da18f2665f56948558eae5fd224fbcfb
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
Assets/StreamingAssets/Main/bg.png


+ 7 - 0
Assets/StreamingAssets/Main/bg.png.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: c48b55c2b5ac64d6096ae69eb6442ff7
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
Assets/StreamingAssets/Main/bg2.png


+ 7 - 0
Assets/StreamingAssets/Main/bg2.png.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 910bacc4f93064903bb49bfe93112edf
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 7 - 0
Assets/TuBiao.cs

@@ -14,6 +14,13 @@ public class TuBiao : UpdateManager
     public Toggle yuetoggle;
 
     public LineChart lc;
+
+    public override void updateAnimation()
+    {
+        base.updateAnimation();
+        lc.AnimationEnable(true);
+        lc.AnimationFadeIn();
+    }
     override public void updateData()
     {
         base.updateData();

+ 16 - 0
Assets/UpdateManager.cs

@@ -5,10 +5,12 @@ using UnityEngine;
 public class UpdateManager : MonoBehaviour
 {
     public float time = 60;
+    public float timea = 5;
     // Start is called before the first frame update
     void Start()
     {
         StartCoroutine(updateTime());
+        StartCoroutine(playAnimation());
     }
 
     IEnumerator updateTime()
@@ -21,8 +23,22 @@ public class UpdateManager : MonoBehaviour
         }
     }
 
+    IEnumerator playAnimation()
+    {
+        while(true)
+        {
+            updateAnimation();
+            yield return new WaitForSeconds(timea);
+
+        }
+    }
+
     public virtual void updateData()
     {
 
+    }
+    public virtual void updateAnimation()
+    {
+
     }
 }

BIN
Assets/image/一级-园区总览默认状态@1x.png


+ 140 - 0
Assets/image/一级-园区总览默认状态@1x.png.meta

@@ -0,0 +1,140 @@
+fileFormatVersion: 2
+guid: 6c31b5f8ca995401d909ced44823fdbc
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 12
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 1
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+    flipGreenChannel: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  ignoreMipmapLimit: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 0
+    wrapV: 0
+    wrapW: 0
+  nPOTScale: 1
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 0
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 0
+  spriteTessellationDetail: -1
+  textureType: 0
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  swizzle: 50462976
+  cookieLightType: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: WebGL
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Standalone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: VisionOS
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+    nameFileIdTable: {}
+  mipmapLimitGroupName: 
+  pSDRemoveMatte: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

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