Skip to content

Commit

Permalink
Fixed formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Aug 12, 2017
1 parent 083ba1e commit e5a9862
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Assets/HoloToolkit/Input/Scripts/InputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private void InitializeEventDatas()
#endif
}

#region Unity Methods
#region Unity Methods

private void Start()
{
Expand Down Expand Up @@ -222,7 +222,7 @@ protected override void OnDestroy()
UnregisterGazeManager();
}

#endregion // Unity Methods
#endregion // Unity Methods

public void HandleEvent<T>(BaseEventData eventData, ExecuteEvents.EventFunction<T> eventHandler)
where T : IEventSystemHandler
Expand Down Expand Up @@ -455,7 +455,7 @@ public void RaiseSourceLost(IInputSource source, uint sourceId)
HandleEvent(sourceStateEventData, OnSourceLostEventHandler);
}

#region Manipulation Events
#region Manipulation Events

private static readonly ExecuteEvents.EventFunction<IManipulationHandler> OnManipulationStartedEventHandler =
delegate (IManipulationHandler handler, BaseEventData eventData)
Expand Down Expand Up @@ -521,9 +521,9 @@ public void RaiseManipulationCanceled(IInputSource source, uint sourceId, Vector
HandleEvent(manipulationEventData, OnManipulationCanceledEventHandler);
}

#endregion // Manipulation Events
#endregion // Manipulation Events

#region Hold Events
#region Hold Events

private static readonly ExecuteEvents.EventFunction<IHoldHandler> OnHoldStartedEventHandler =
delegate (IHoldHandler handler, BaseEventData eventData)
Expand Down Expand Up @@ -573,9 +573,9 @@ public void RaiseHoldCanceled(IInputSource source, uint sourceId)
HandleEvent(holdEventData, OnHoldCanceledEventHandler);
}

#endregion // Hold Events
#endregion // Hold Events

#region Navigation Events
#region Navigation Events

private static readonly ExecuteEvents.EventFunction<INavigationHandler> OnNavigationStartedEventHandler =
delegate (INavigationHandler handler, BaseEventData eventData)
Expand Down Expand Up @@ -641,10 +641,10 @@ public void RaiseNavigationCanceled(IInputSource source, uint sourceId, Vector3
HandleEvent(navigationEventData, OnNavigationCanceledEventHandler);
}

#endregion // Navigation Events
#endregion // Navigation Events

#if UNITY_WSA || UNITY_STANDALONE_WIN
#region Speech Events
#region Speech Events

private static readonly ExecuteEvents.EventFunction<ISpeechHandler> OnSpeechKeywordRecognizedEventHandler =
delegate (ISpeechHandler handler, BaseEventData eventData)
Expand All @@ -669,9 +669,9 @@ public void RaiseSpeechKeywordPhraseRecognized(IInputSource source, uint sourceI
handler.OnDictationHypothesis(casted);
};

#endregion // Speech Events
#endregion // Speech Events

#region Dictation Events
#region Dictation Events

public void RaiseDictationHypothesis(IInputSource source, uint sourceId, string dictationHypothesis, AudioClip dictationAudioClip = null)
{
Expand Down Expand Up @@ -730,7 +730,7 @@ public void RaiseDictationError(IInputSource source, uint sourceId, string dicta
HandleEvent(dictationEventData, OnDictationErrorEventHandler);
}

#endregion // Dictation Events
#endregion // Dictation Events
#endif
}
}

0 comments on commit e5a9862

Please sign in to comment.