コード例 #1
0
    // Used to destroy surrounding area
    public void Bang()
    {
        Explosion ue = up_explosion.GetComponent <Explosion>();

        ue.Blow_Up_Walls();

        Explosion re = right_explosion.GetComponent <Explosion>();

        re.Blow_Up_Walls();

        Explosion de = down_explosion.GetComponent <Explosion>();

        de.Blow_Up_Walls();

        Explosion le = left_explosion.GetComponent <Explosion>();

        le.Blow_Up_Walls();

        StartCoroutine(Secondary_Timer());
    }