Adding trick respawn logic
This commit is contained in:
@@ -42,6 +42,11 @@ public class Spawner : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void SpawnNow()
|
||||
{
|
||||
SpawnOnce();
|
||||
}
|
||||
|
||||
private IEnumerator SpawnRoutine()
|
||||
{
|
||||
// Infinite loop to keep spawning (can be modified)
|
||||
|
||||
Reference in New Issue
Block a user