Пример #1
0
 // 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();
     }
 }