Exemplo n.º 1
0
    public void OnEnable()
    {
        weapon         = WeaponUtil.CreateWeapon("GhWeaponShotgun");
        weapon.shooter = this;
        weapon.target  = GameObject.FindGameObjectWithTag("Player");

        timer.Start(explosionTime);
    }