C# Input.GetAxis()
들어가기전 Input System: converting the player's physcial action(eg. button press, keypress) into Info for the game. old system 과 new system 이 있단다 그런가보다 Old System Axes 는 Axis 의 복수형이란다. 도끼의 복수형인줄 알았다. Horizontal 과 Vertical 은 두개가 있는데 다른 하나는 조이스틱용이다. 난 건들지 않는다. 안좋은점 한가지 : 명칭을 정확하게 알아야 한다. 범위 값이 - 1부터 +1 까지 즉 (-1, 0 , +1) 3가지인가 보다. void Update() //프레임마다 호출된다. { float steerAmount = Input.GetAxis("Horizon..
2023.01.10