Exemplo n.º 1
0
 void continueAction()
 {
     if (completion >= 1)
     {
         Debug.Log(user.getGameObject().name + ": FIRING AT " + target.getGameObject().name);
         user.finishAction();
     }
     else
     {
         completion += 0.5f;
         Debug.Log(user.getGameObject().name + ": AIMING");
     }
 }