瀏覽代碼

修改bug

DESKTOP-FB72PO8\Administrator 2 天之前
父節點
當前提交
fe3f40bfbb

+ 7 - 0
Assets/Res/Config/SkillConstant.json.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: CnIYtHytUX3zGHWYqRyaysxOK8g6RcMCrufwL8ZIika/+pVi/1E1U5WGNrgY
+TextScriptImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 11 - 0
Assets/Scripts/GameData/ExcelConfig/SkillConstant.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: XnhJ4H+kV3lwtciyo0BmUmQyai4/FEoKw0XeFs4uTH69egWHqh8xMBleqbRj
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 2 - 2
Assets/Scripts/GameLogic/Combat/CombatTool/MagicWeaponCollisionInfo.cs

@@ -106,7 +106,7 @@ namespace GameLogic.Combat.CombatTool
 
             _besselPathA.controlPoints.Add(b.GameObject.transform.TransformPoint(new Vector3(-12.66f, 1, 5)));
             _besselPathA.controlPoints.Add(b.dotPos);
-            GameObject G1 = new GameObject("BesselPathMono22");
+            GameObject G1 = new GameObject("BesselPathMono33");
             BesselPathMono besselPathMono1 = G1.AddComponent<BesselPathMono>();
             besselPathMono1.isRun = true;
             besselPathMono1.BesselPath = _besselPathA;
@@ -118,7 +118,7 @@ namespace GameLogic.Combat.CombatTool
             _besselPathB.controlPoints.Add(
                 a.GameObject.transform.TransformPoint(new Vector3(12.67f, -3.03f, -3.5f)));
             _besselPathB.controlPoints.Add(a.dotPos);
-            GameObject G2 = new GameObject("BesselPathMono22");
+            GameObject G2 = new GameObject("BesselPathMono44");
             BesselPathMono besselPathMono2 = G2.AddComponent<BesselPathMono>();
             besselPathMono2.isRun = true;
             besselPathMono2.BesselPath = _besselPathB;

+ 5 - 5
Assets/Scripts/GameLogic/Combat/Hero/State/MagicWeaponIdleState.cs

@@ -41,11 +41,11 @@ namespace GameLogic.Combat.Hero
                         myCombatMagicWeaponEntity.MagicWeaponCollisionId);
                 if (!nMagicWeaponCollisionInfo.a.isCombatState || !nMagicWeaponCollisionInfo.b.isCombatState)
                 {
-                    Quaternion newQuaternion = Quaternion.identity;
-
-                    myCombatMagicWeaponEntity.GameObject.transform.rotation = Quaternion.RotateTowards(
-                        myCombatMagicWeaponEntity.GameObject.transform.rotation,
-                        newQuaternion, 5);
+                    // Quaternion newQuaternion = Quaternion.identity;
+                    //
+                    // myCombatMagicWeaponEntity.GameObject.transform.rotation = Quaternion.RotateTowards(
+                    //     myCombatMagicWeaponEntity.GameObject.transform.rotation,
+                    //     newQuaternion, 5);
                 }
                 // else
                 // {