Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     iceB = GetComponentInParent <IceBlockBreaking>();
     boss = FindObjectOfType <BoneDragonController>();
     isVolstaggHidding = false;
     player            = FindObjectOfType <PlayerHealthManager>();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     iceBlockHit = false;
     fireRB      = GetComponent <Rigidbody2D>();
     anim        = GetComponent <Animator>();
     SoundManagerScript.PlaySound("fireballLaunch");
     fbCreated    = true;
     dragon       = FindObjectOfType <BoneDragonController>();
     playerHealth = FindObjectOfType <PlayerHealthManager>();
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     once                = false;
     currentHealth       = health;
     anim                = GetComponent <Animator>();
     boss                = GetComponent <BoneDragonController>();
     boss_SpriteRenderer = GetComponent <SpriteRenderer>();
     boss_buffer         = boss_SpriteRenderer.color;
     takingDamage        = false;
 }
Exemplo n.º 4
0
 private void Start()
 {
     if (PlayerDeath.scene.Equals("Scene2D"))
     {
         tutorial      = 1;
         keyController = FindObjectOfType <KeyController>();
     }
     else if (PlayerDeath.scene.Equals("BossPhase"))
     {
         tutorial = 4;
         boss     = FindObjectOfType <BoneDragonController>();
     }
 }
Exemplo n.º 5
0
 // Start is called before the first frame update
 void Start()
 {
     boss = FindObjectOfType <BoneDragonController>();
 }
Exemplo n.º 6
0
 private void Start()
 {
     player      = FindObjectOfType <PlayerHealthManager>();
     hitedPlayer = false;
     boss        = FindObjectOfType <BoneDragonController>();
 }