Added new patron animations.
This commit is contained in:
parent
d0a546ffac
commit
2abd70e08f
14 changed files with 583 additions and 333 deletions
|
|
@ -35,6 +35,7 @@ public class PlayerController : MonoBehaviour {
|
|||
{
|
||||
nextFire = Time.time + delay;
|
||||
Instantiate(shank, shankSpawn.position, playerAngle.rotation);
|
||||
shankSpawn.audio.Play ();
|
||||
animator.Play("player_shank");
|
||||
}
|
||||
|
||||
|
|
@ -60,7 +61,6 @@ public class PlayerController : MonoBehaviour {
|
|||
|
||||
if (moveHorizontal < 0) {
|
||||
playerAngle.eulerAngles = new Vector3(0f, -180f, 0f);
|
||||
|
||||
}
|
||||
if (moveHorizontal > 0)
|
||||
playerAngle.eulerAngles = new Vector3(0f, 0f, 0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue