Exemple #1
0
    public void Action_explode()
    {
        gunBeginDamage();

        state = State_Damage;

        Explode explode = Explode.createFromPool();

        explode.playAtPos(gunRoot.position);
    }
Exemple #2
0
    void Action_Normal(ContactInfo contactInfo)
    {
        Player.killHelicopterNum++;
        Player.score += scoreContribute;
        MainRes.scoreNum.display(Player.score);

        Explode explode = Explode.createFromPool();

        explode.playAtPos(transform.position);

        canDestroy = true;
    }