TO SQUASH: A lot of things.
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user