//Step 3 public void End_Explosion() { area_KenaBomb.transform.position = positionUser_Outside; isStartExploding = false; Damage_Able = false; //Bomb_Anim.SetBool("isStartExploding", false); bombAOE.SetStart(false); isActivated = false; Disable(); }
//Step 2 public void Exploded_Bomb() { bomb_Sprite.SetActive(false); area_KenaBomb.SetActive(true); bombAOE = area_KenaBomb.GetComponent <BombAoE>(); isStartBomb = false; area_KenaBomb.transform.position = positionUser_Inside; isStartExploding = true; Damage_Able = true; // Bomb_Anim.SetBool("isStartBomb", false); // Bomb_Anim.SetBool("isStartExploding", true); bombScript.SetStart(false); bombAOE.SetStart(true); }