Эх сурвалжийг харах

修改漂浮英灵用手柄召唤时无效果的bug

SZAND\msx_2 1 жил өмнө
parent
commit
8788ec14df

+ 5 - 1
ActionTowerDefense/Assets/Resources/Prefab/Player.prefab

@@ -771,6 +771,7 @@ MonoBehaviour:
   attackTime: 0
   totalAttack1Time: 0.35
   totalAttack2Time: 0.5
+  isNonAttack: 0
   hptp: 0
   isDie: 0
   totalHp: 3000
@@ -819,6 +820,8 @@ MonoBehaviour:
   linked: 0
   joint: {fileID: 0}
   rope: {fileID: 0}
+  hasHpUp: 0
+  beLarger: 0
   foot: {fileID: 3571941039716665623}
   extraRiseGravity: -28.8
   extraFallGravity: -14.4
@@ -910,6 +913,7 @@ MonoBehaviour:
   playerSpine:
   - {fileID: 11400000, guid: a1915b92abea4a049a4d50b2ebd53111, type: 2}
   - {fileID: 11400000, guid: b8dcb564f1b91234588d66173ce4064e, type: 2}
+  isInvisible: 0
   LBisHold: 0
 --- !u!54 &3571941038519084339
 Rigidbody:
@@ -970,7 +974,7 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   floatEffect: {fileID: 417478504669294145, guid: 243eb0eff66414445990654286d861d1, type: 3}
-  currentSpirit: 1
+  currentSpirit: 0
 --- !u!1 &3571941039716665622
 GameObject:
   m_ObjectHideFlags: 0

+ 1 - 1
ActionTowerDefense/Assets/Scripts/Character.cs

@@ -333,7 +333,7 @@ public class Character : MonoBehaviour
             beLarger = false;
             transform.localScale = new Vector3(toLargeSize, toLargeSize, 1);
             toLargeSize = 0;
-            print(transform.localScale);
+            //print(transform.localScale);
         }
     }
 }

+ 2 - 2
ActionTowerDefense/Assets/Scripts/Spirits/Spirits.cs

@@ -16,7 +16,7 @@ public class Spirits : MonoBehaviour
 
     public SpiritType currentSpirit = SpiritType.Float;
 
-
+    /*
     public void SummonSpirit(SpiritType st)
     {
         switch (st)
@@ -52,5 +52,5 @@ public class Spirits : MonoBehaviour
             currentSpirit = SpiritType.Invisible;
             SummonSpirit(currentSpirit);
         }
-    }
+    }*/
 }