Kaynağa Gözat

增加花影子

jet 8 yıl önce
ebeveyn
işleme
ee997ab027

+ 0 - 9
Assets/Editor.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 5fcd7f3618d0f154995b49930421ea1b
-folderAsset: yes
-timeCreated: 1501174341
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 9
Assets/Plugins/metro/UWP.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: b3a793fc2ce8625488a5576817135789
-folderAsset: yes
-timeCreated: 1501174341
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 9
Assets/Plugins/metro/WindowsPhone81.meta

@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: ea89367846fcf554188c49cca742be04
-folderAsset: yes
-timeCreated: 1501174341
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 3 - 103
Assets/Resource/Logo.unity

@@ -173,7 +173,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!81 &1218118078
 AudioListener:
   m_ObjectHideFlags: 0
@@ -242,58 +242,6 @@ Transform:
   m_Father: {fileID: 0}
   m_RootOrder: 1
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1001 &1407270616
-Prefab:
-  m_ObjectHideFlags: 0
-  serializedVersion: 2
-  m_Modification:
-    m_TransformParent: {fileID: 0}
-    m_Modifications:
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalPosition.x
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalPosition.y
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalPosition.z
-      value: -0.1
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.x
-      value: -0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.y
-      value: -0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.z
-      value: -0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.w
-      value: 1
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_RootOrder
-      value: 4
-      objectReference: {fileID: 0}
-    - target: {fileID: 212597787890355580, guid: 88b6da1c153074445a6a8f8165071b0e,
-        type: 2}
-      propertyPath: m_Sprite
-      value: 
-      objectReference: {fileID: 21300000, guid: 16e6ce922a163bb47897b95252dad38e,
-        type: 3}
-    - target: {fileID: 1718165080095612, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_Name
-      value: Flower (1)
-      objectReference: {fileID: 0}
-    m_RemovedComponents: []
-  m_ParentPrefab: {fileID: 100100000, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-  m_IsPrefabParent: 0
 --- !u!1 &1511433816
 GameObject:
   m_ObjectHideFlags: 0
@@ -312,7 +260,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!95 &1511433817
 Animator:
   serializedVersion: 3
@@ -470,54 +418,6 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: d995bd93e747b4143812c28df116ed09, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
---- !u!1001 &1794925139
-Prefab:
-  m_ObjectHideFlags: 0
-  serializedVersion: 2
-  m_Modification:
-    m_TransformParent: {fileID: 0}
-    m_Modifications:
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalPosition.x
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalPosition.y
-      value: 0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalPosition.z
-      value: -0.1
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.x
-      value: -0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.y
-      value: -0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.z
-      value: -0
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_LocalRotation.w
-      value: 1
-      objectReference: {fileID: 0}
-    - target: {fileID: 4157267071062646, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-      propertyPath: m_RootOrder
-      value: 3
-      objectReference: {fileID: 0}
-    - target: {fileID: 212597787890355580, guid: 88b6da1c153074445a6a8f8165071b0e,
-        type: 2}
-      propertyPath: m_Sprite
-      value: 
-      objectReference: {fileID: 21300048, guid: 9c73f3cb846e0d74ea3440644afa75b3,
-        type: 3}
-    m_RemovedComponents: []
-  m_ParentPrefab: {fileID: 100100000, guid: 88b6da1c153074445a6a8f8165071b0e, type: 2}
-  m_IsPrefabParent: 0
 --- !u!1 &1833966243
 GameObject:
   m_ObjectHideFlags: 0
@@ -533,7 +433,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 4294967295
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!114 &1833966244
 MonoBehaviour:
   m_ObjectHideFlags: 0

+ 6 - 6
Assets/Resource/Prefab/Object/Flower.prefab

@@ -466,11 +466,11 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1172671826056066}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 0, y: 0.05, z: 0.001}
-  m_LocalScale: {x: 1.0732924, y: 1.0732924, z: 1.0732924}
+  m_LocalPosition: {x: 0, y: -1.7800001, z: 0.001000002}
+  m_LocalScale: {x: 0.68974274, y: 1.0732924, z: 1.0732924}
   m_Children: []
-  m_Father: {fileID: 4916747695851704}
-  m_RootOrder: 1
+  m_Father: {fileID: 4845512422489780}
+  m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 --- !u!4 &4574206532300710
 Transform:
@@ -589,7 +589,8 @@ Transform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 1.83, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
-  m_Children: []
+  m_Children:
+  - {fileID: 4432107378253174}
   m_Father: {fileID: 4916747695851704}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -604,7 +605,6 @@ Transform:
   m_LocalScale: {x: 1, y: 1, z: 1}
   m_Children:
   - {fileID: 4845512422489780}
-  - {fileID: 4432107378253174}
   m_Father: {fileID: 4157267071062646}
   m_RootOrder: 1
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

+ 9 - 9
Assets/Resource/Prefab/Object/Garden.prefab

@@ -676,7 +676,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1457951344241442}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 2.2, y: 0.5, z: 0}
+  m_LocalPosition: {x: 2.2, y: 0.6, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -728,7 +728,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1842028635447454}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -5.2, y: 0.5, z: 0}
+  m_LocalPosition: {x: -5.2, y: 0.6, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -760,7 +760,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1798999995647288}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -1.5, y: 0.5, z: 0}
+  m_LocalPosition: {x: -1.5, y: 0.6, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -827,7 +827,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1407192791261292}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 0.3, y: -1.9, z: 0}
+  m_LocalPosition: {x: 0.3, y: -1.8, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -840,7 +840,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1353785833647074}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -5.2, y: -4.3, z: 0}
+  m_LocalPosition: {x: -5.2, y: -4.2, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -908,7 +908,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1728925240400126}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -1.5, y: -4.3, z: 0}
+  m_LocalPosition: {x: -1.5, y: -4.2, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -934,7 +934,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1991737387278072}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 2.2, y: -4.3, z: 0}
+  m_LocalPosition: {x: 2.2, y: -4.2, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -983,7 +983,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1918730323919874}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -3.4, y: -1.9, z: 0}
+  m_LocalPosition: {x: -3.4, y: -1.8, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}
@@ -1035,7 +1035,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1337198292386708}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 4, y: -1.9, z: 0}
+  m_LocalPosition: {x: 4, y: -1.8, z: 0}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children: []
   m_Father: {fileID: 4008559618325982}

+ 9 - 9
Assets/Resource/Prefab/Object/Page.prefab

@@ -514,7 +514,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1400484849511208}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 6, y: 0.8, z: -0.1}
+  m_LocalPosition: {x: 6, y: 0.9, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4446281901154626}
@@ -541,7 +541,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1419672203277778}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -2, y: 0.8, z: -0.1}
+  m_LocalPosition: {x: -2, y: 0.9, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4333771229460558}
@@ -594,7 +594,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1913738569272756}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 2, y: 0.8, z: -0.1}
+  m_LocalPosition: {x: 2, y: 0.9, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4485278436189206}
@@ -675,7 +675,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1212623043079770}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 3.5, y: -2.2, z: -0.1}
+  m_LocalPosition: {x: 3.5, y: -2.1, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4924500101640946}
@@ -744,7 +744,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1232187855820768}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 7.1, y: -2.2, z: -0.1}
+  m_LocalPosition: {x: 7.1, y: -2.1, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4270161711280264}
@@ -758,7 +758,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1078195571109848}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -6, y: 0.8, z: -0.1}
+  m_LocalPosition: {x: -6, y: 0.9, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4008462344703468}
@@ -795,7 +795,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1213102972776782}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -3.7, y: -2.2, z: -0.1}
+  m_LocalPosition: {x: -3.7, y: -2.1, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4906063488618624}
@@ -823,7 +823,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1209372422394468}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -0.1, y: -2.2, z: -0.1}
+  m_LocalPosition: {x: -0.1, y: -2.1, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4444309442525180}
@@ -891,7 +891,7 @@ Transform:
   m_PrefabInternal: {fileID: 100100000}
   m_GameObject: {fileID: 1565542696011734}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: -7.3, y: -2.2, z: -0.1}
+  m_LocalPosition: {x: -7.3, y: -2.1, z: -0.1}
   m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
   m_Children:
   - {fileID: 4685721866237570}

+ 1 - 1
Assets/Resource/Prefab/PrefabUI/GroupA.prefab

@@ -313,7 +313,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!1 &1122321127892574
 GameObject:
   m_ObjectHideFlags: 1

+ 2 - 2
Assets/Script/Manage/ManaMiniGame.cs

@@ -1732,7 +1732,7 @@ public class ManaMiniGame : Regist
 
     public static void RoundResetC(bool firstRound = false)
     {
-        ExtList.ForEach(IdleList, flower => { flower.Retrieve(); });
+        ExtList.ForEach(IdleList, flower => { flower.Retrieve();});
 
         IdleList = new List<Flower>();
 
@@ -1782,7 +1782,7 @@ public class ManaMiniGame : Regist
 
         for (int i = 0; i < IdleList.Count; i++)
         {
-            IdleList[i].FlowerIcon.CreateTweenSr(1, 0, 0.25f, true, false, Curve.EaseOutQuad, false, true);
+            IdleList[i].FlowerIcon.CreateTweenSr(1, 0, 0.25f, true, false, Curve.EaseOutQuad, false, true).AlphaOnly = true;
 
             IdleList[i].FlowerIcon.GetTweenSr().InDestination = true;
         }

+ 2 - 0
Assets/Script/Object/Flower.cs

@@ -507,6 +507,8 @@ public class Flower : Regist, IPointerClickHandler
         FlowerInfo.ChildDic["UIFlash"].SetActive(false);
         FlowerInfo.ChildDic["UIParticle System"].SetActive(false);
 
+        ShadowSr.SetAlpha(1);
+
         StopNewFlowerEffec();
 
         ManaReso.Save(this);

+ 41 - 59
Assets/Script/Tool/Anim/TweenSr.cs

@@ -35,6 +35,8 @@ public class TweenSr : TweenRoot
             {
                 Target.color = Origin;
 
+                UpdateChildSpriteRenderer();
+
                 if (Group)
                 {
                     for (int i = 0; i < ChildList.Count; i++)
@@ -91,6 +93,8 @@ public class TweenSr : TweenRoot
             {
                 Target.color = Destination;
 
+                UpdateChildSpriteRenderer();
+
                 if (Group)
                 {
                     for (int i = 0; i < ChildList.Count; i++)
@@ -158,35 +162,7 @@ public class TweenSr : TweenRoot
             return true;
         }
 
-        if (Group)
-        {
-            SpriteRenderer[] renderers = Target.GetComponentsInChildren<SpriteRenderer>();
-
-            ChildList = new List<SpriteRenderer>();
-
-            for (int i = 1; i < renderers.Length; i++)
-            {
-                SpriteRenderer renderer = renderers[i];
-
-                ChildList.Add(renderer);
-
-                if (!ColorDic.ContainsKey(renderer))
-                {
-                    ColorDic.Add(renderer, renderer.color);
-                }
-            }
-
-
-            List<SpriteRenderer> keyList = ColorDic.Keys.ToList();
-
-            for (int i = 0; i < keyList.Count; i++)
-            {
-                if (!ChildList.Contains(keyList[i]))
-                {
-                    ColorDic.Remove(keyList[i]);
-                }
-            }
-        }
+        UpdateChildSpriteRenderer();
 
         if (InBackward)
         {
@@ -205,35 +181,7 @@ public class TweenSr : TweenRoot
             return true;
         }
 
-        if (Group)
-        {
-            SpriteRenderer[] renderers = Target.GetComponentsInChildren<SpriteRenderer>();
-            
-            ChildList = new List<SpriteRenderer>();
-
-            for (int i = 1; i < renderers.Length; i++)
-            {
-                SpriteRenderer renderer = renderers[i];
-
-                ChildList.Add(renderer);
-
-                if (!ColorDic.ContainsKey(renderer))
-                {
-                    ColorDic.Add(renderer, renderer.color);
-                }
-            }
-
-
-            List<SpriteRenderer> keyList = ColorDic.Keys.ToList();
-
-            for (int i = 0; i < keyList.Count; i++)
-            {
-                if (!ChildList.Contains(keyList[i]))
-                {
-                    ColorDic.Remove(keyList[i]);
-                }
-            }
-        }
+        UpdateChildSpriteRenderer();
 
         if (InForward)
         {
@@ -328,7 +276,7 @@ public class TweenSr : TweenRoot
                     }
 
                     Color selfColor = ColorDic[ChildList[i]];
-
+                    
                     if (AlphaOnly)
                     {
                         ChildList[i].color = new Color(selfColor.r, selfColor.g, selfColor.b, selfColor.a*Target.color.a);
@@ -343,4 +291,38 @@ public class TweenSr : TweenRoot
             return false;
         }
     }
+
+
+    public void UpdateChildSpriteRenderer()
+    {
+        if (Group)
+        {
+            SpriteRenderer[] renderers = Target.GetComponentsInChildren<SpriteRenderer>();
+
+            ChildList = new List<SpriteRenderer>();
+
+            for (int i = 1; i < renderers.Length; i++)
+            {
+                SpriteRenderer renderer = renderers[i];
+
+                ChildList.Add(renderer);
+
+                if (!ColorDic.ContainsKey(renderer))
+                {
+                    ColorDic.Add(renderer, renderer.color);
+                }
+            }
+
+
+            List<SpriteRenderer> keyList = ColorDic.Keys.ToList();
+
+            for (int i = 0; i < keyList.Count; i++)
+            {
+                if (!ChildList.Contains(keyList[i]))
+                {
+                    ColorDic.Remove(keyList[i]);
+                }
+            }
+        }
+    }
 }

+ 3 - 3
ProjectSettings/GraphicsSettings.asset

@@ -43,13 +43,13 @@ GraphicsSettings:
     type: 0}
   m_TierSettings_Tier1:
     renderingPath: 1
-    useCascadedShadowMaps: 1
+    useCascadedShadowMaps: 0
   m_TierSettings_Tier2:
     renderingPath: 1
-    useCascadedShadowMaps: 1
+    useCascadedShadowMaps: 0
   m_TierSettings_Tier3:
     renderingPath: 1
-    useCascadedShadowMaps: 1
+    useCascadedShadowMaps: 0
   m_DefaultRenderingPath: 1
   m_DefaultMobileRenderingPath: 1
   m_TierSettings: []

+ 5 - 0
ToList.txt

@@ -1,3 +1,8 @@
+花隐形的bug
+
+DragonBone优化
+
+
 苹果的本地化(在PlayerBuilder中设置)
 
 分享appid