AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
SymbolKeyboard.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using UnityEngine;
5 
6 namespace HoloToolkit.UI.Keyboard
7 {
8  public class SymbolKeyboard : MonoBehaviour
9  {
10  [SerializeField]
11  private UnityEngine.UI.Button m_PageBck = null;
12 
13  [SerializeField]
14  private UnityEngine.UI.Button m_PageFwd = null;
15 
16  private void Update()
17  {
18  // Visual reflection of state.
19  m_PageBck.interactable = Keyboard.Instance.IsShifted;
20  m_PageFwd.interactable = !Keyboard.Instance.IsShifted;
21  }
22  }
23 }
A simple general use keyboard that is ideal for AR/VR applications.
Definition: Keyboard.cs:21
static T Instance
Returns the Singleton instance of the classes type. If no instance is found, then we search for an in...
Definition: Singleton.cs:26