// Start is called before the first frame update void Start() { _gm = GameObject.Find("Game Manager").GetComponent <GameManagerX3>(); InvokeRepeating("SpawnObjects", spawnDelay, spawnInterval); playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerX3>(); }
// Start is called before the first frame update void Start() { playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerX3>(); }
// Start is called before the first frame update void Start() { _gm = GameObject.Find("Game Manager").GetComponent <GameManagerX3>(); speed += _gm.wave; playerControllerScript = GameObject.Find("Player").GetComponent <PlayerControllerX3>(); }