示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     cmp_bossMdl = bossObj.GetComponent <Enemy_BossModel>();
     rangeX      = bossObj.transform.position.x + aproxRange;
     rangeZ      = bossObj.transform.position.z + offSetZ + aproxRange;
     //cmp_bossMdl
 }
示例#2
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>();
 }
示例#3
0
    // Start is called before the first frame update
    void Start()
    {
        cmp_life        = GetComponent <Life>();
        cmp_enemy_model = GetComponent <Enemy_BossModel>();
        cmp_spwn        = GetComponent <Spawning>();

        cmp_life.life = cmp_enemy_model.bosslife;
        GameObject ply = GameObject.Find("Player");
    }
示例#4
0
    //public bool golpeAlSuelo;

    /*public int lugarGolpeMartillo;
     * public float tMartillo;
     * public float tMVolverInicio;
     * public float tMSiguienteataque;*/

    // Start is called before the first frame update
    void Start()
    {
        spwnerBombs.SetActive(false);
        spwnerLions.SetActive(false);
        spwnerRhinos.SetActive(false);

        atackTimer      = 0;
        cmp_life        = GetComponent <Life>();
        cmp_enemy_model = GetComponent <Enemy_BossModel>();
        cmp_spwn        = GetComponent <Spawning>();

        cmp_life.life = cmp_enemy_model.bosslife;
        GameObject ply = GameObject.Find("Player");
    }
示例#5
0
    //private float timeRecharWpn;

    // Start is called before the first frame update
    void Start()
    {
        cmp_bossCtrl = GetComponent <Enemy_BossController>();
        cmp_bossMdl  = GetComponent <Enemy_BossModel>();
    }