فهرست منبع

修复了伞的大小问题

HY-LSZNWIN10\Administrator 6 روز پیش
والد
کامیت
6f60feccc5

+ 3 - 3
ActionTowerDefense/Assets/Resources/Prefab/Boss/WaterSprite/Boss_Umbrella.prefab

@@ -10045,9 +10045,9 @@ Transform:
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 5733499163905850023}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 0, y: -8.5, z: 0}
-  m_LocalScale: {x: 0.72, y: 0.72, z: 1}
-  m_ConstrainProportionsScale: 0
+  m_LocalPosition: {x: 0, y: 0, z: 0}
+  m_LocalScale: {x: 0.72, y: 0.72, z: 0.72}
+  m_ConstrainProportionsScale: 1
   m_Children: []
   m_Father: {fileID: 5733499163813085000}
   m_RootOrder: 0

+ 2 - 31
ActionTowerDefense/Assets/Resources/Spine/Boss_umbrella_red/Boss_umbraller_SkeletonData_Controller.controller

@@ -9,12 +9,9 @@ AnimatorStateMachine:
   m_PrefabAsset: {fileID: 0}
   m_Name: Base Layer
   m_ChildStates:
-  - serializedVersion: 1
-    m_State: {fileID: 9063192197865265463}
-    m_Position: {x: 200, y: 0, z: 0}
   - serializedVersion: 1
     m_State: {fileID: 6508088595563211672}
-    m_Position: {x: 235, y: 65, z: 0}
+    m_Position: {x: 350, y: 70, z: 0}
   m_ChildStateMachines: []
   m_AnyStateTransitions: []
   m_EntryTransitions: []
@@ -24,7 +21,7 @@ AnimatorStateMachine:
   m_EntryPosition: {x: 50, y: 120, z: 0}
   m_ExitPosition: {x: 800, y: 120, z: 0}
   m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
-  m_DefaultState: {fileID: 9063192197865265463}
+  m_DefaultState: {fileID: 6508088595563211672}
 --- !u!74 &-3117138637065627286
 AnimationClip:
   m_ObjectHideFlags: 0
@@ -301,29 +298,3 @@ AnimatorState:
   m_MirrorParameter: 
   m_CycleOffsetParameter: 
   m_TimeParameter: 
---- !u!1102 &9063192197865265463
-AnimatorState:
-  serializedVersion: 6
-  m_ObjectHideFlags: 1
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: dive_end
-  m_Speed: 1
-  m_CycleOffset: 0
-  m_Transitions: []
-  m_StateMachineBehaviours: []
-  m_Position: {x: 50, y: 50, z: 0}
-  m_IKOnFeet: 0
-  m_WriteDefaultValues: 1
-  m_Mirror: 0
-  m_SpeedParameterActive: 0
-  m_MirrorParameterActive: 0
-  m_CycleOffsetParameterActive: 0
-  m_TimeParameterActive: 0
-  m_Motion: {fileID: 4369608762527255281}
-  m_Tag: 
-  m_SpeedParameter: 
-  m_MirrorParameter: 
-  m_CycleOffsetParameter: 
-  m_TimeParameter: 

+ 3 - 3
ActionTowerDefense/Assets/Scripts/Boss/WaterGhost/WaterSprite.cs

@@ -42,7 +42,6 @@ public class WaterSprite : Boss
     public AttackMethods curAttackType;
     private WaterSpriteAttackController attack;
     public GameObject smokeFx;
-    public bool isHoldingUmbre = true;
     public int attackNum;
     public int attackCount = 0;
     public float comboInterval;
@@ -74,8 +73,9 @@ public class WaterSprite : Boss
     [LabelText("愤怒状态攻击间隔")] public float angryAttackInterval;
     [LabelText("愤怒状态持续时间")] public float angryDuration;
     private float angryTimer;
-    private bool isAngry = false;
-    public bool isTakingUmbre = false;
+    [FoldoutGroup("状态提示")] public bool isAngry = false;
+    [FoldoutGroup("状态提示")] public bool isTakingUmbre = false;
+    [FoldoutGroup("状态提示")] public bool isHoldingUmbre = true;
     private Coroutine attackCoroutine;
 
     public override void Init()