Esempio n. 1
0
 public void Hadouken()
 {
     if (properties.moveTimer == 0)
     {
         anim.Hadouken();
         Debug.Log("Hadouken");
         properties.moveTimer = Time.time + 1.0f;
         StartCoroutine(properties.Recover(1.5f));
     }
     else if (Time.time < properties.moveTimer)
     {
         Debug.Log("Too Soon");
     }
     else if (Time.time > properties.moveTimer)
     {
         properties.moveTimer = 0;
     }
 }