Notice
Recent Posts
Recent Comments
Link
목록2D 점프 (1)
아미(아름다운미소)
[Unity] 2D 점프
Unity 2D 점프 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Jump : MonoBehaviour { Rigidbody2D rgdy; public float JP = 10f; bool isJumping = false; // Use this for initialization void Start () { rgdy = gameObject.GetComponent(); } // Update is called once per frame void Update () { if(Input.GetKeyDown(KeyCode.Space)) isJumping = true; } private void Fi..
랭귀지/Unity
2018. 4. 5. 09:30