Closed LuqueDaniel closed 3 years ago
SpawnArea
SpawnPoint
Queue
transform.position
ScriptableObstacle
Phase
Notas:
layers
tags
SpawnArea
SpawnPoint
.Queue
(cuyo tamaño máximo es ajustable) con el prefab base de los obstáculos.Queue
.SpawnPoint
.SpawnPoint
transform.position
) y el tipo de obstáculo (conScriptableObstacle
) que deberá spawnear elSpawnArea
.Phase
SpawnPoint
, de esta manera se forman patrones. CadaPhase
puede tener su propia velocidad.SpawnPoint
s.ScriptableObstacle
SpawnArea
para modificar los obstáculos de la cola, según se requiera.Notas:
layers
en lugar detags
.