TO SQUASH: Started nuke ball.

This commit is contained in:
2026-08-04 00:44:32 -04:00
parent 6351d69fb1
commit 15e822e693
31 changed files with 2406 additions and 12 deletions
+2 -2
View File
@@ -35,13 +35,13 @@ public class OozeBall : MonoBehaviour
audioSource = GetComponent<AudioSource>();
animator = GetComponent<Animator>();
spriteRenderer = GetComponent<SpriteRenderer>();
speed = new Vector2(Random.Range(-0.002f, 0.002f), Random.Range(-0.002f, 0.002f));
speed = new Vector2(Random.Range(-0.05f, 0.05f), Random.Range(-0.05f, 0.05f));
audioSource.PlayOneShot(spawnSound);
}
// Update is called once per frame
void Update()
void FixedUpdate()
{
AnimatorStateInfo stateInfo = animator.GetCurrentAnimatorStateInfo(0);