/ Moves the player around the world using the gamepad, or any other input action that supports 2D axis. ![]() You can use the following code to move the MR Playspace using gamepad: using ![]() ![]() Answer: you can use Unity's Input.GetAxis to figure out which buttons / joysticks are pressed, however I found it a bit easier to use the controller mappings in MRTK to map the "navigation action" to the gamepad dpad and joysticks, and then listen for input changed on navigation events.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |