summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Test/ArmorSoldierScript_Anim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Test/ArmorSoldierScript_Anim.cs')
-rw-r--r--Assets/Scripts/Test/ArmorSoldierScript_Anim.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Assets/Scripts/Test/ArmorSoldierScript_Anim.cs b/Assets/Scripts/Test/ArmorSoldierScript_Anim.cs
new file mode 100644
index 00000000..cf21a504
--- /dev/null
+++ b/Assets/Scripts/Test/ArmorSoldierScript_Anim.cs
@@ -0,0 +1,31 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public partial class ArmorSoldierScript : Avatar, IInteractable
+{
+ int Anim_Idle;
+
+ int Anim_HurtFront;
+
+ int Anim_LightHurt;
+ int Anim_MidiumHurt;
+ int Anim_HeavyHurt;
+ int Anim_GroundHurt;
+ int Anim_AirHurt;
+
+
+ void SetupAnim()
+ {
+ Anim_Idle = Animator.StringToHash("Idle");
+
+ Anim_HurtFront = Animator.StringToHash("Hurt_Front");
+ Anim_LightHurt = Animator.StringToHash("Hurt_Light");
+ Anim_MidiumHurt = Animator.StringToHash("Hurt_Midium");
+ Anim_HeavyHurt = Animator.StringToHash("Hurt_Heavy");
+ Anim_GroundHurt = Animator.StringToHash("Hurt_Ground");
+ Anim_AirHurt = Animator.StringToHash("Hurt_Air");
+
+ }
+
+} \ No newline at end of file