// Use this for initialization
	void Start ()
    {
        enemyPumpkinManager = GetComponent<EnemyPumpkinManager>();
        victoryCondition = GetComponent<VictoryCondition>();
        player = GameObject.FindGameObjectWithTag("Player");
        playerManagerBackup = player.GetComponent<PlayerManagerBackup>();
	}
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     enemyPumpkinManager = GetComponent <EnemyPumpkinManager>();
     victoryCondition    = GetComponent <VictoryCondition>();
     player = GameObject.FindGameObjectWithTag("Player");
     playerManagerBackup = player.GetComponent <PlayerManagerBackup>();
 }
Beispiel #3
0
 void Start()
 {
     enemyPumpkinManager = transform.root.GetComponent<EnemyPumpkinManager>();
 }
Beispiel #4
0
 void Start()
 {
     enemyPumpkinManager = transform.root.GetComponent <EnemyPumpkinManager>();
 }
Beispiel #5
0
    //public float stunOffset;
    //public float stunOffsetIni;

    void  Start ()
    {
        enemyManager = GetComponentInParent<EnemyPumpkinManager>();

        //stunOffset = stunOffsetIni;
    }
Beispiel #6
0
    //public float stunOffset;
    //public float stunOffsetIni;

    void  Start()
    {
        enemyManager = GetComponentInParent <EnemyPumpkinManager>();

        //stunOffset = stunOffsetIni;
    }