edit - Project Settings 

Jump 확인 

 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Jump : MonoBehaviour
{

    // Update is called once per frame
    void Update()
    {
        
        if (Input.GetButtonDown("Jump"))
            Debug.Log("점프 키를 눌렀습니다.");

        if (Input.GetButton("Jump"))
            Debug.Log("점프 키를 누르는 중.");

        if (Input.GetButtonUp("Jump"))
            Debug.Log("슈퍼 점프!!");

    }
}
블로그 이미지

나무뚱이

,