// 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 }
// 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_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"); }
//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"); }
//private float timeRecharWpn; // Start is called before the first frame update void Start() { cmp_bossCtrl = GetComponent <Enemy_BossController>(); cmp_bossMdl = GetComponent <Enemy_BossModel>(); }