AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
InputClickedEventData.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.EventSystems;
5 
6 namespace HoloToolkit.Unity.InputModule
7 {
12  {
16  public int TapCount { get; private set; }
17 
18  public InputClickedEventData(EventSystem eventSystem) : base(eventSystem)
19  {
20  }
21 
22  public void Initialize(IInputSource inputSource, uint sourceId, object tag, InteractionSourcePressInfo pressType, int tapCount)
23  {
24  Initialize(inputSource, sourceId, tag, pressType);
25  TapCount = tapCount;
26  }
27  }
28 }
void Initialize(IInputSource inputSource, uint sourceId, object tag, InteractionSourcePressInfo pressType, int tapCount)
Interface for an input source. An input source can be anything that a user can use to interact with a...
Definition: IInputSource.cs:12
Describes an input event that involves a tap.
Describes an input event that has a source id and a press kind.