AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
SliderInputField.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 using UnityEngine.UI;
6 using UnityEngine.EventSystems;
7 
8 namespace HoloToolkit.UI.Keyboard
9 {
13  public class SliderInputField : InputField
14  {
19  public override void OnDeselect(BaseEventData eventData)
20  {
21  // Do nothing for deselection
22  }
23  }
24 }
This is an input field that overrides getting deselected
override void OnDeselect(BaseEventData eventData)
Override OnDeselect