로딩
티스토리 데이터 처리 중입니다.

유니티 C# 간단한 플랫포머 게임 만들기 예시 구현 Unity Platformer Game

 유니티 C# 간단한 플랫포머 게임 만들기 예시 구현 Unity Platformer Game

코드 작성PlayerController.csusing UnityEngine;public class PlayerController : MonoBehaviour{ // 이동 속도 public float moveSpeed = 5f; // 점프 힘 public float jumpForce = 10f; // 땅 체크 private bool isGrounded; // 리지드바디 컴포넌트 private Rigidbody2D rb; // 땅 체크 위치 public Transform groundCheck; // 땅 체크 반경 public float groundCheckRadius; // 땅 레이어 public LayerMask groundLaye.....