public void Init(int i, Vector3 _pos, Vector3 _rota) { itemSpawner = this.gameObject.GetComponent <ItemSpawner>(); itemSpawner.Init(); Spawn(i, _pos, _rota); }
public void Init() { itemSpawner = this.gameObject.GetComponent <ItemSpawner>(); itemSpawner.Init(); keyCount = 0; noisyCount = 0; garbageCount = 0; Spawn(); }