// Use this for initialization void Start() { theLevelManager = FindObjectOfType <LevelManager>(); tvPlayer = FindObjectOfType <PlayerController>(); plasmaPlayer = FindObjectOfType <PlasmaPlayer>(); boss1 = FindObjectOfType <Boss>(); }
void OnStart() { levelManagerScript = FindObjectOfType <LevelManager>(); tvPlayer = FindObjectOfType <PlayerController>(); playerGunScript = FindObjectOfType <PlayerGun>(); playerRouterScript = FindObjectOfType <PlayerRouter>(); plasmaPlayer = FindObjectOfType <PlasmaPlayer>(); }
// Use this for initialization void Start() { theSpriteRenderer = GetComponent <SpriteRenderer>(); theColliderBox.enabled = true; evolveScript = FindObjectOfType <Evolve>(); tvPlayer = FindObjectOfType <PlayerController>(); plasmaPlayer = FindObjectOfType <PlasmaPlayer>(); }
// Use this for initialization void Start() { tvPlayer = FindObjectOfType <PlayerController>(); plasmaPlayer = FindObjectOfType <PlasmaPlayer>(); levelManagerScript = FindObjectOfType <LevelManager>(); characterSelect = 1; plasmaPlayer.gameObject.SetActive(false); }
// Use this for initialization void Start() { tvPlayer = FindObjectOfType <PlayerController>(); plasmaPlayer = FindObjectOfType <PlasmaPlayer>(); theLevelManagerScript = FindObjectOfType <LevelManager>(); playerGunScript = FindObjectOfType <PlayerGun>(); playerRouterScript = FindObjectOfType <PlayerRouter>(); bossScript = FindObjectOfType <Boss>(); levelCompleteImage.SetActive(false); }
private void Start() { tvPlayer = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>(); plasmaPlayer = GameObject.FindGameObjectWithTag("Player").GetComponent <PlasmaPlayer>(); }