TO SQUASH: Yummy text on get.

This commit is contained in:
2026-08-27 21:51:28 -04:00
parent 67fc884bc4
commit ba1a7ba281
16 changed files with 496 additions and 71 deletions
@@ -8,6 +8,8 @@ public class CakeSpawner : Spawner
public WorldFiller worldFiller;
public Canvas canvas;
private Bounds cakeBounds;
private Bounds gameBoardBounds;
@@ -48,6 +50,7 @@ public class CakeSpawner : Spawner
if (Random.value < spawnProbability)
{
GameObject cake = Instantiate(cakePrefab, spawnPosition, Quaternion.identity);
cake.GetComponent<YummyCake>().canvas = canvas;
}
spawned = true;