Esempio n. 1
0
    private void fire()
    {
        r.Raycastfire();
        GameObject bul = (GameObject)Instantiate(fireeffect, firepos.position, Quaternion.identity);

        this.GetComponent <Animator>().Play("Fire SniperRifle");
    }