이 모듈은 컨트롤러나 마우스 입력이 작동하는 방식과 비슷하게 설계되었습니다. 입력에 대한 응답으로 버튼 누름, 드래그 등의 이벤트가 보내집니다.
이 모듈은 마우스나 입력 디바이스가 이동하면 포인터 이벤트를 컴포넌트로 보내며, Graphics Raycaster와 Physics Raycaster를 사용하여 어떤 요소가 주어진 포인터 디바이스를 통해 포인트되고 있는지 계산합니다. 요구 사항에 따라 씬의 일부분을 감지 또는 무시하도록 레이캐스터를 설정할 수 있습니다.
모듈은 이동 이벤트를 보내며, Input 창을 통해 추적된 입력에 대한 반응으로 이벤트를 제출 또는 취소합니다. 이는 키보드와 컨트롤러 입력 둘 다 지원합니다. 추적되는 축과 키는 모듈의 인스펙터에서 설정할 수 있습니다.
프로퍼티: | 기능: |
---|---|
Horizontal Axis | 수평축 버튼의 원하는 관리자 이름을 입력합니다. |
Vertical Axis | 수직축 버튼의 원하는 관리자 이름을 입력합니다. |
Submit Button | 제출 버튼의 원하는 관리자 이름을 입력합니다. |
Cancel Button | 취소 버튼의 원하는 관리자 이름을 입력합니다. |
Input Actions Per Second | 초당 허용되는 키보드 및 컨트롤러 입력 수입니다. |
Repeat Delay | 초당 입력 행동 반복률이 유효하기 이전 지연 시간을 초로 나타낸 값입니다. |
Force Module Active | 이 프로퍼티를 활성화하면 Standalone Input Module 이 강제로 활성화됩니다. |
모듈은 아래 요소를 사용합니다.
모듈의 흐름은 다음과 같습니다.
StandaloneInputModule
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.