/// <summary> /// Populates the event with data. /// </summary> /// <param name="eventSource"></param> /// <param name="objectBeingPlaced"></param> public void Initialize(IMixedRealityEventSource eventSource, GameObject objectBeingPlaced) { BaseInitialize(eventSource); ObjectBeingPlaced = objectBeingPlaced; }
/// <summary> /// Used to initialize/reset the event and populate the data. /// </summary> /// <param name="eventSource">The source of the event.</param> protected void BaseInitialize(IMixedRealityEventSource eventSource) { Reset(); EventTime = DateTime.UtcNow; EventSource = eventSource; }
/// <summary> /// Used to initialize/reset the event and populate the data. /// </summary> /// <param name="eventSource">The source of the event.</param> protected void BaseInitialize(IMixedRealityEventSource eventSource) { Reset(); EventSource = eventSource; }