Ejemplo n.º 1
0
 // 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>();
 }
Ejemplo n.º 2
0
    // 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>();
        }
    }
Ejemplo n.º 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>();
        }
    }