// Start is called before the first frame update void Start() { _gm = GameObject.Find("Game Manager").GetComponent <U4GameManager>(); SpawnEnemyWave(_gm.wave); //Instantiate(powerupPrefab, RandPos(), powerupPrefab.transform.rotation); }
// Start is called before the first frame update void Start() { _playerRB = GetComponent <Rigidbody>(); _focalPoint = GameObject.Find("Focal Point"); _gm = GameObject.Find("Game Manager").GetComponent <U4GameManager>(); }
// Start is called before the first frame update void Start() { enemyRB = GetComponent <Rigidbody>(); player = GameObject.Find("Player"); _gm = GameObject.Find("Game Manager").GetComponent <U4GameManager>(); }