revert object instantiate on level config
This commit is contained in:
parent
18babd7d6c
commit
7e9385db30
@ -20,7 +20,7 @@ public class WaveObserver : Singleton<WaveObserver>
|
|||||||
|
|
||||||
public void Init(WaveConfig config)
|
public void Init(WaveConfig config)
|
||||||
{
|
{
|
||||||
_levelConfig = config;
|
_levelConfig = Object.Instantiate(config);
|
||||||
_copyConstantSpawn = new List<int>();
|
_copyConstantSpawn = new List<int>();
|
||||||
_copyGroupSpawn = new List<List<int>>();
|
_copyGroupSpawn = new List<List<int>>();
|
||||||
_groupSpawnTimers = new List<float>();
|
_groupSpawnTimers = new List<float>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user