// Start is called before the first frame update
 void Start()
 {
     cmp_enemyBoss = GameObject.FindGameObjectWithTag("Boss").GetComponent <Enemy_BossModel>();
     cmp_scnChng   = GetComponent <SceneChange>();
     cmp_scnCh     = GetComponent <TransitionInScene>();
     cmp_PlyMod    = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerModelo>();
 }
    // Start is called before the first frame update
    void Start()
    {
        cmp_showText      = GetComponent <TXTGeneral>();
        numPivotChallenge = 0;
        nextChallTimer    = 0;

        cmp_scnChng = GetComponent <SceneChange>();
        cmp_scnCh   = GetComponent <TransitionInScene>();

        if (GameObject.Find("LevelStat"))
        {
            cmp_lvlSts = GameObject.Find("LevelStat").GetComponent <LevelStats>();
        }
    }
Beispiel #3
0
    // Start is called before the first frame update
    void Start()
    {
        playerMov         = true;
        numPivotChallenge = 0;
        nextPartTimer     = 0;

        cmp_scnChng = GetComponent <TransitionInScene>();
        cmp_scnCh   = GetComponent <SceneChange>();

        if (GameObject.Find("LevelStat"))
        {
            cmp_lvlSts = GameObject.Find("LevelStat").GetComponent <LevelStats>();
        }
    }