Hello everyone.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Search
-
Re: Convert OnMouseDown to AirTap
-
Re: Convert OnMouseDown to AirTap
The airtapping work now! Thanks! The logic is however false. I have the following script: ` public class OrderTest : MonoBehaviour, IInputClickHandler { public int digit; public GameObject correctMessage; public GameObject falseMessage; public GameObject waitingMessage; static int[] solution = { 1, 2, 3, 4 };private static… -
Re: Convert OnMouseDown to AirTap
I reimported HoloToolkit and now the airtapping works! Thanks! My logic is false however...I have the following script and I guess I am doing something wrong, since I can never get the "Correct" message: `using System.Collections; using System.Collections.Generic; using UnityEngine; using HoloToolkit; using… -
Re: Convert OnMouseDown to AirTap
Here you go: using UnityEngine;using HoloToolkit.Unity.InputModule;public class ForumTest : MonoBehaviour, IInputClickHandler { public int digit; static int[] solution = { 1, 2, 3, 4 }; static int[] input = { -1, -1, -1, -1 }; private void Start() { //InputManager.Instance.PushFallbackInputHandler(gameObject); } public… -
Re: Convert OnMouseDown to AirTap
This shouldnt work at all. In your else if you have to use && instead of &. Also you can do the same && thingy in your if so its a little bit nicer structured. I think missing input should be designed like this: else if(input[3] == -1 || input[2] == -1 || input[1] == -1 || input[0] == -1) Furthermore where does your digit…
5 results