accessing google glass swipe pad in unity3d
问题 I am trying to access glass swipe pad in my unity3d project but it doesn't work. "KeyCode.Escape" works fine for swipe down. But how do I get swipe left right and tap working? I checked the "secondaryTouchEnabled" using the following in OnGUI and it returns "False", GUI.Label (new Rect (300, 100, 200, 60), ""+AndroidInput.secondaryTouchEnabled.ToString()); Shouldn't it return "True"? It would be great if someone could share an example code here. 回答1: The GUI.Label in your question should work