// Update is called once per frame void FixedUpdate() { if (Input.GetButton("Joy A") && (Time.time - lastThrowDate > DelayBetweenThrows) && dragonControl.canFireball()) { Debug.Log("Joy AAAA is pressed"); SpawnFireball(); } }
// Update is called once per frame void FixedUpdate() { if (Input.GetButton("Joy A") && (Time.time - lastThrowDate > DelayBetweenThrows) && dragonControl.canFireball()) { Debug.Log("Joy AAAA is pressed"); SpawnFireball(); } }