Input Manager 에서는 프로젝트의 서로 다른 입력 축과 게임 동작을 정의합니다.
입력 관리자를 보려면 Edit->Project Settings->Input 을 선택해야 합니다.
프로퍼티: | 기능: |
---|---|
Axes | 현재 프로젝트에 정의된 모든 입력 축을 포함합니다. Size 는 프로젝트 내 서로 다른 입력 축의 개수이며, Element 0, 1, … 은 수정할 특정 축을 의미합니다. |
Name | 게임 런처 내 또는 스크립팅을 통해 축을 참조하는 문자열입니다. |
Descriptive Name | 게임 런처에 표시되는 Positive Button 기능에 대한 자세한 정의입니다 |
Descriptive Negative Name | 게임 런처에 표시되는 Negative Button 기능에 대한 자세한 정의입니다. |
Negative Button | 축에 음의 값을 보내는 버튼입니다. |
Positive Button | 축에 양의 값을 보내는 버튼입니다. |
Alt Negative Button | 축에 음의 값을 보내는 보조 버튼입니다. |
Alt Positive Button | 축에 양의 값을 보내는 보조 버튼입니다. |
Gravity | 입력이 얼마나 빠르게 중심으로 되돌아가는지 설정합니다. Type 이 key / mouse button 인 경우에만 사용합니다. |
Dead | 여기서 설정한 수치 미만의 모든 양 또는 음의 값은 0으로 등록됩니다. 조이스틱의 경우에 유용합니다. |
Sensitivity | 키보드 입력의 경우, 값이 커질수록 반응 시간이 빨라집니다. 값이 작을수록 입력이 더 매끄러워집니다. 마우스 델타의 경우, 값은 실제 마우스 델타를 스케일합니다. |
Snap | 이 옵션을 활성화하는 경우, 축 값은 반대되는 입력을 받은 즉시 0으로 초기화됩니다. Type 이 key / mouse button 인 경우에만 사용합니다. |
Invert | 이 옵션을 활성화하는 경우, 양의 버튼은 축에 음의 값을 보내고 그 반대도 마찬가지입니다. |
Type | 모든 버튼에 대해서는 Key / Mouse Button 을 마우스 델타와 스크롤 휠에 대해서는 마우스 움직임을 아날로그 조이스틱 축에 대해서는 Joystick Axis 를 사용자가 창을 흔드는 경우에 대해서는 Window Movement 를 사용해야 합니다. |
Axis | 조이스틱, 마우스, 게임패드 등의 다바이스에서의 입력 축. |
Joy Num | 어떤 조이스틱을 사용할지 지정합니다. 기본적으로 모든 조이스틱의 입력을 검색해서 가져오도록 설정되어 있습니다. 이 옵션은 입력 축에 대해서만 사용되고 버튼에서는 사용되지 않습니다. |
입력 관리자에서 설정한 모든 축은 다음 두 개의 역할을 수행합니다.
정의된 모든 축은 게임 런처에서 플레이어에게 보여지며 이름, 자세한 설명, 디폴트 버튼에 대한 정보가 제공됩니다. 여기서 플레이어는 축에서 정의된 버튼을 변경할 수 있습니다. 따라서 스크립트를 작성하는 경우, 플레이어가 게임 내 버튼 설정을 변경할 수도 있으므로 개별 버튼을 사용하기 보다는 축을 사용하는 것이 좋습니다.
또한 입력을 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.