also the updated script lmao
This commit is contained in:
parent
3521b84ec4
commit
7760a2b92b
|
@ -97,6 +97,8 @@ namespace HeavenStudio.Games
|
||||||
Baseball = 0,
|
Baseball = 0,
|
||||||
Onigiri = 1,
|
Onigiri = 1,
|
||||||
Alien = 2,
|
Alien = 2,
|
||||||
|
Apple = 4,
|
||||||
|
Star = 5,
|
||||||
Tacobell = 3,
|
Tacobell = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,6 +279,12 @@ namespace HeavenStudio.Games
|
||||||
ball.transform.localScale = new Vector3(2f, 2f, 1);
|
ball.transform.localScale = new Vector3(2f, 2f, 1);
|
||||||
ball.GetComponent<SpaceballBall>().isTacobell = true;
|
ball.GetComponent<SpaceballBall>().isTacobell = true;
|
||||||
break;
|
break;
|
||||||
|
case (int)BallType.Apple:
|
||||||
|
ball.transform.localScale = new Vector3(5f, 5f, 1);
|
||||||
|
break;
|
||||||
|
case (int)BallType.Star:
|
||||||
|
ball.transform.localScale = new Vector3(6f, 6f, 1);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Dispenser.GetComponent<Animator>().Play("DispenserShoot", 0, 0);
|
Dispenser.GetComponent<Animator>().Play("DispenserShoot", 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue