TO SQUASH: A lot of things.

This commit is contained in:
2026-08-05 04:52:06 -04:00
parent 1c00bebb40
commit a9db378127
111 changed files with 63162 additions and 6833 deletions
+2
View File
@@ -14,6 +14,8 @@ public class BallBase : MonoBehaviour
protected Vector2 speed;
protected bool affectedByMagnet = true;
void OnTriggerEnter2D(Collider2D other)
{
if(other.gameObject.CompareTag("Bar"))
+3
View File
@@ -31,6 +31,9 @@ public class NukeBall : BallBase
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
// NukeBall is not affected by magnets, unlike other balls.
affectedByMagnet = false;
// Cache frequently used components once.
audioSource = GetComponent<AudioSource>();
animator = GetComponent<Animator>();