Skip to content

Commit

Permalink
also the updated script lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
wookywok authored and minenice55 committed May 10, 2024
1 parent 3521b84 commit 7760a2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Assets/Scripts/Games/Spaceball/Spaceball.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public enum BallType {
Baseball = 0,
Onigiri = 1,
Alien = 2,
Apple = 4,
Star = 5,
Tacobell = 3,
}

Expand Down Expand Up @@ -277,6 +279,12 @@ public void Shoot(double beat, bool high, int type)
ball.transform.localScale = new Vector3(2f, 2f, 1);
ball.GetComponent<SpaceballBall>().isTacobell = true;
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);
Expand Down

0 comments on commit 7760a2b

Please sign in to comment.