Parcourir la source

修复任务宝箱层级不对Bug

LiuQilin il y a 7 ans
Parent
commit
b0e9fb371e

+ 5 - 4
Assets/Resource/Logo.unity

@@ -612,10 +612,11 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: f1828554d8ffa12449b221fe29b2c32c, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
-  AuditEdition: 1
-  DebugMode: 0
-  CatchException: 1
-  DebugModeGo: {fileID: 0}
+  AuditEdition: 0
+  DebugMode: 1
+  CatchException: 0
+  DebugModeGo: {fileID: 1264531325540048, guid: b22fd2d9abc702d43ac62a412537d4e9,
+    type: 2}
 --- !u!4 &1833966245
 Transform:
   m_ObjectHideFlags: 0

+ 1 - 0
Assets/Script/Object/PlazaRoom.cs

@@ -67,6 +67,7 @@ public class PlazaRoom : MonoBehaviour, IPointerClickHandler
     private static string PhonoGraphAnimName = "newAnimation";
 
     private static Vector3 HitPosOffset = new Vector3(0, 0, -3);
+    //private static Vector3 HitPosOffset = new Vector3(0, 0, -4.8f);
     private static List<StarCreater> StarCreaters = new List<StarCreater>();
 
     public static Dictionary<Transform, List<Transform>> ControllDepthDictionary = new Dictionary<Transform, List<Transform>>();

+ 2 - 1
Assets/Script/SFS/Manager/ChestManager.cs

@@ -29,7 +29,8 @@ public class ChestData
 
     private static bool Initialized;
     private static Vector3 DefaultPosition;
-    private static Vector3 ChestOffset = new Vector3(0, 0, 1.040916f);
+    //private static Vector3 ChestOffset = new Vector3(0, 0, 1.040916f);
+    private static Vector3 ChestOffset = new Vector3(0, 0, 0.079915f);
 
     #endregion
 

+ 1 - 1
Assets/Script/SFS/Manager/PlazaRoomController.cs

@@ -130,7 +130,7 @@ public class PlazaRoomController
             {
                 Player.Flip(PlayerDirection.Left);
             }
-
+            
             float offsetX = Mathf.Abs(destination.x - Player.transform.position.x);
             float offsetY = Mathf.Abs(destination.y - Player.transform.position.y);
             float offset = Mathf.Sqrt(offsetX*offsetX + offsetY*offsetY);

+ 0 - 4
第五期.txt

@@ -1,9 +1,5 @@
 ΢ÐÅÖ§¸¶
 
-rr1WP4
-
-alq5sc
-
 
 //¹Ø±ÕDebugMode ¿ªÆôCatchException