feat: start animation

This commit is contained in:
Gerard Gascón 2024-04-22 19:05:46 +02:00
parent a276096476
commit 3522a015f6
354 changed files with 22842 additions and 5 deletions

View file

@ -10,6 +10,8 @@ namespace View {
[SerializeField] private GameObject rose;
public void SpawnRose() {
SpawnInitialRose();
return;
Vector2 spawnPos = new(
spawnerRegion.position.x + Random.Range(-spawnerRegion.size.x / 2f, spawnerRegion.size.x / 2f),
spawnerRegion.position.y + Random.Range(-spawnerRegion.size.y / 2f, spawnerRegion.size.y / 2f)