public Initialize ( IInputSource inputSource, uint sourceId, object tag ) : void | ||
inputSource | IInputSource | |
sourceId | uint | |
tag | object | |
Результат | void |
private void InputSource_HoldStarted(object sender, HoldEventArgs e) { // Create input event holdEventData.Initialize(e.InputSource, e.SourceId); // Pass handler through HandleEvent to perform modal/fallback logic HandleEvent(holdEventData, OnHoldStartedEventHandler); }
public void RaiseHoldStarted(IInputSource source, uint sourceId) { // Create input event holdEventData.Initialize(source, sourceId); // Pass handler through HandleEvent to perform modal/fallback logic HandleEvent(holdEventData, OnHoldStartedEventHandler); }
public void RaiseHoldStarted(IInputSource source, uint sourceId, object[] tags = null) { // Create input event holdEventData.Initialize(source, sourceId, tags); // Pass handler through HandleEvent to perform modal/fallback logic HandleEvent(holdEventData, OnHoldStartedEventHandler); try { AfterGestureRecognition.Instance.ExtraHoldStarted(); } catch { Debug.Log("Add AfterGestureRecognition script if you want to use Extra Actions"); } }