summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/ACS-17/Demo_Table_Animations/Scripts/Actions.cs
blob: ae316278e732334fe8fdbaf31199bfaeda8d13ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
using UnityEngine;
using System.Collections;
//This script executes commands to change character animations
[RequireComponent (typeof (Animator))]
public class Actions : MonoBehaviour {

	private Animator animator;
	void Awake () {
		animator = GetComponent<Animator> ();
    }
 
	public void Dead1()
	{
		animator.SetBool ("ACS_Dead1", true);
	}
	public void Dead2()
	{
		animator.SetBool ("ACS_Dead2", true);
	}
	public void Dead3()
	{
		animator.SetBool ("ACS_Dead3", true);
	}
	public void Dead4()
	{
		animator.SetBool ("ACS_Dead4", true);
	}
	public void StrafeLeft()
	{
		animator.SetBool ("ACS_StrafeLeft", true);
	}
	public void StrafeRight()
	{
		animator.SetBool ("ACS_StrafeRight", true);
	}
	public void Idle()
	{
		animator.SetBool ("ACS_Idle", true);
	}
	public void Idle2()
	{
		animator.SetBool ("ACS_Idle2", true);
	}
	public void Attack()
	{
		animator.SetBool ("ACS_Attack", true);
	}
	public void TurnLeft()
	{
		animator.SetBool ("ACS_TurnLeft", true);
	}
	public void TurnRight()
	{
		animator.SetBool ("ACS_TurnRight", true);
	}
	public void ChangeToWalk()
	{
		animator.SetBool ("ACS_ChangeToWalk", true);
	}
	public void ChangeToWeels()
	{
		animator.SetBool ("ACS_ChangeToWeels", true);
	}
	public void MoveWeelsForwad()
	{
		animator.SetBool ("ACS_MoveWeelsForwad", true);
	}
	public void MoveWeelsForwad2()
	{
		animator.SetBool ("ACS_MoveWeelsForwad2", true);
	}
	public void MoveWeelsBack()
	{
		animator.SetBool ("ACS_MoveWeelsBack", true);
	}
	public void WalkForwad()
	{
		animator.SetBool ("ACS_WalkForwad", true);
	}
	public void WalkForwad2()
	{
		animator.SetBool ("ACS_WalkForwad2", true);
	}
	public void WalkBack()
	{
		animator.SetBool ("ACS_WalkBack", true);
	}
 


}