Exemple #1
0
 // Use this for initialization
 void Start()
 {
     theLevelManager = FindObjectOfType <LevelManager>();
     tvPlayer        = FindObjectOfType <PlayerController>();
     plasmaPlayer    = FindObjectOfType <PlasmaPlayer>();
     boss1           = FindObjectOfType <Boss>();
 }
Exemple #2
0
 void OnStart()
 {
     levelManagerScript = FindObjectOfType <LevelManager>();
     tvPlayer           = FindObjectOfType <PlayerController>();
     playerGunScript    = FindObjectOfType <PlayerGun>();
     playerRouterScript = FindObjectOfType <PlayerRouter>();
     plasmaPlayer       = FindObjectOfType <PlasmaPlayer>();
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     theSpriteRenderer      = GetComponent <SpriteRenderer>();
     theColliderBox.enabled = true;
     evolveScript           = FindObjectOfType <Evolve>();
     tvPlayer     = FindObjectOfType <PlayerController>();
     plasmaPlayer = FindObjectOfType <PlasmaPlayer>();
 }
Exemple #4
0
    // Use this for initialization
    void Start()
    {
        tvPlayer           = FindObjectOfType <PlayerController>();
        plasmaPlayer       = FindObjectOfType <PlasmaPlayer>();
        levelManagerScript = FindObjectOfType <LevelManager>();

        characterSelect = 1;
        plasmaPlayer.gameObject.SetActive(false);
    }
Exemple #5
0
 // 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);
 }
Exemple #6
0
 private void Start()
 {
     tvPlayer     = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>();
     plasmaPlayer = GameObject.FindGameObjectWithTag("Player").GetComponent <PlasmaPlayer>();
 }