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"); } }
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"); } }