Explorar o código

不知道,存存看

DESKTOP-PG06IH1\Mr.AB hai 1 ano
pai
achega
83055a09de

+ 4 - 1
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Sword.prefab

@@ -202,7 +202,7 @@ MonoBehaviour:
   attack1Infos:
   - damage: 100
     attackDir: {x: -3, y: 1, z: 0}
-    force: 10000
+    force: 20000
     changeHurt: 1
     repelValue: 52
   attack2Infos:
@@ -295,6 +295,7 @@ MonoBehaviour:
   soulStartSpeed: 1
   isInvisible: 0
   invisibleTime: 0
+  velocityAddition: 0
   easyToGetHit: 0.2
   player: {fileID: 0}
   id: 0
@@ -391,6 +392,8 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: c42213c575288a148b692aad7ab56bab, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  rb: {fileID: 0}
+  haveGravity: 1
   trigGroundList: []
 --- !u!1 &5216717017252562314
 GameObject:

+ 2 - 2
ActionTowerDefense/Assets/Resources/Prefab/Player.prefab

@@ -928,8 +928,8 @@ MonoBehaviour:
   playerRope: {fileID: 112529840073562573, guid: 2f24cd9614ae27e4e9525c04d7c7244f, type: 3}
   eventTrigger: {fileID: 8878694457807976444}
   sprintLinkTrigger: {fileID: 2536450432252384432}
-  jumpSpeed: 20
-  airJumpSpeed: 16
+  jumpSpeed: 18
+  airJumpSpeed: 14
   rushSpeed: 30
   flySpeed: 8
   mp: 0

BIN=BIN
ActionTowerDefense/Assets/Resources/Textures/UI/UI切图/icon_assassinhead.png


BIN=BIN
ActionTowerDefense/Assets/Resources/Textures/UI/UI切图/icon_floathead.png


+ 1 - 1
ActionTowerDefense/Assets/Scenes/SampleScene.unity

@@ -27722,7 +27722,7 @@ Transform:
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 2045679344}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 77, y: 8.4, z: 0}
+  m_LocalPosition: {x: 77, y: 11, z: 0}
   m_LocalScale: {x: 100, y: 0.1, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children: []

+ 0 - 36
ActionTowerDefense/Assets/Scripts/PlayerController.cs

@@ -1380,42 +1380,6 @@ public class PlayerController : MoveCharacter
                 break;
         }
 
-        if (isTransfiguration)
-        {
-            isTransfiguration = false;
-            canfly = false;
-            canJump = true;
-            canMove = true;
-            rb.useGravity = true;
-            mecanim = playerMe;
-            ani = playerAni;
-            aniCollider = playerCol;
-            bodyTrans = playerTran;
-            beSearchTrigger = playerBst;
-            bulletPrefab = playerBullet;
-            searchTrigger = playerST;
-            foot = playerFoot;
-            spinee = playerSpinee;
-            mesh = playerMesh;
-            mats = playerMats;
-            soulCollector = playerSoulCollector;
-            outlineMats = playerOut;
-            spiritObj.transform.parent = null;
-            spiritObj.SetActive(false);
-            endChange = 0;
-            switch (playerId)
-            {
-                case 0:
-                    SpiritSystem.isEndtran1 = true;
-                    break;
-                case 1:
-                    SpiritSystem.isEndtran2 = true;
-                    break;
-                default:
-                    break;
-            }
-        }
-
         foot.trigGroundList.Clear();
         bodyTrans.gameObject.SetActive(false);
         uiHp.transform.parent.gameObject.SetActive(false);