mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-25 19:15:16 +00:00
also the updated script lmao
This commit is contained in:
parent
185486cc3f
commit
7a9f1a8738
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,8 @@ namespace HeavenStudio.Games
|
||||||
Baseball = 0,
|
Baseball = 0,
|
||||||
Onigiri = 1,
|
Onigiri = 1,
|
||||||
Alien = 2,
|
Alien = 2,
|
||||||
|
Apple = 4,
|
||||||
|
Star = 5,
|
||||||
Tacobell = 3,
|
Tacobell = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,6 +278,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