Exemple #1
0
    private void ShootingLogic()
    {
        if (Input.GetButtonDown("Fire1"))
        {
            playerShootingController.Shoot();
            Debug.Log("Disparo");
        }

        if (Input.GetMouseButtonDown(1))
        {
            playerShootingController.CombineBullets();
            Debug.Log("Combino balas");
        }
    }