startJump()

private IEnumerator startJump(float cnt){
      yield return new WaitForSeconds(cnt);
      jump = true;
      StopCoroutine(startJump(0f));
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *