summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Test/SaionjiScript_Anim.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-19 09:08:22 +0800
committerchai <chaifix@163.com>2020-10-19 09:08:22 +0800
commit608395979f5323dc69f3cc343715aba4f5c552bc (patch)
tree68f21eaf8a2c3b996cf27bf68c2464460e6973e0 /Assets/Scripts/Test/SaionjiScript_Anim.cs
parent08f9a5eae6739e4070f4db7b298e2b34016ea4f4 (diff)
+Gun ability
Diffstat (limited to 'Assets/Scripts/Test/SaionjiScript_Anim.cs')
-rw-r--r--Assets/Scripts/Test/SaionjiScript_Anim.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/Assets/Scripts/Test/SaionjiScript_Anim.cs b/Assets/Scripts/Test/SaionjiScript_Anim.cs
index f7c29d3b..1b99ce35 100644
--- a/Assets/Scripts/Test/SaionjiScript_Anim.cs
+++ b/Assets/Scripts/Test/SaionjiScript_Anim.cs
@@ -15,10 +15,15 @@ public partial class SaionjiScript : MonoBehaviour
int Anim_SideKick;
int Anim_DashWithSword;
int Anim_SuperKick;
+ int Anim_Gun1;
+ int Anim_Gun2;
+ int Anim_Gun3;
+ int Anim_Gun4;
void GetAnimHash()
{
- Anim_Idle = Animator.StringToHash("Idle_Fight");
+ Anim_Idle = Animator.StringToHash("Idle_Gun");
+ //Anim_Idle = Animator.StringToHash("Idle_Fight");
Anim_Run = Animator.StringToHash("Run_Sword_Fast");
Anim_LightAttack1 = Animator.StringToHash("Light_Attk_1");
@@ -32,6 +37,11 @@ public partial class SaionjiScript : MonoBehaviour
Anim_SuperKick = Animator.StringToHash("SuperKickCombo");
Anim_DashWithSword = Animator.StringToHash("Dash_With_Sword");
+
+ Anim_Gun1 = Animator.StringToHash("Gun01");
+ Anim_Gun2 = Animator.StringToHash("Gun02");
+ Anim_Gun3 = Animator.StringToHash("Gun03");
+ Anim_Gun4 = Animator.StringToHash("Gun04");
}
}