Example #1
0
    public void Fire()
    {
        float time = Time.time;

        if (time < _lastfire + FireCooldown)
        {
            return;
        }

        _lastfire = time;

        BulletManager.ForceSpawn();
    }