12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758using System.Collections;using System.Collections.Generic;using UnityEngine; public class PlayerControler2 : MonoBehaviour{ public float speed = 15f;//캐릭터 이동속도 private Rigidbody rb; private int floorLayerMask;//마우스 레이케스트에 필요한 레이어 private const float maxDistance = 1000f;// 레이캐스트 최대거리 public .....
원문 링크 : [유니티 C#][기초] 4. 마우스, 키보드 입력 받기