From 2d6bc7e2a7290be1ed2c8f7b426b76b35e3e824a Mon Sep 17 00:00:00 2001
From: chenxin <chenxin6991@163.com>
Date: Sat, 07 Nov 2020 10:35:33 +0800
Subject: [PATCH] Merge branch 'master' of http://172.16.1.52:8090/r/GemBattle into master

---
 Assets/Scripts/UI/FlyImage.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Assets/Scripts/UI/FlyImage.cs b/Assets/Scripts/UI/FlyImage.cs
index d138533..14fa3ca 100644
--- a/Assets/Scripts/UI/FlyImage.cs
+++ b/Assets/Scripts/UI/FlyImage.cs
@@ -73,11 +73,11 @@
         tmpV.x -= UnityEngine.Random.Range(10, 15);
         if (isUp)
         {
-            tmpV.z += UnityEngine.Random.Range(20, 40);
+            tmpV.z += UnityEngine.Random.Range(10, 20);
         }
         else
         {
-            tmpV.z -= UnityEngine.Random.Range(20, 40);
+            tmpV.z -= UnityEngine.Random.Range(10, 20);
         }
 
         return tmpV;
@@ -88,7 +88,7 @@
     /// </summary>
     private void Bezier_Move()
     {
-        if (index + 2 >= point.Count)
+        if (index + 3 >= point.Count)
         {
             //到终点了
             Close();
@@ -98,7 +98,7 @@
         {
             transform.DOMove(point[index], 0.01f).OnComplete(Bezier_Move);
 
-            index += 2;
+            index += 3;
         }
     }
 

--
Gitblit v1.9.1