Пример #1
0
    public void Update()
    {
        if (Player == null)
        {
            return;
        }

        remainingShotCooldownInSeconds -= Time.deltaTime;

        if (input.IsShooting())
        {
            Shoot();
        }
    }