Skip to content

Commit b8b6792

Browse files
committed
CLEANED UP EVENTS
1 parent c462a77 commit b8b6792

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Assets/UXF/Scripts/Session.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,10 @@ public class Session : MonoBehaviour
221221
public Dictionary<string, object> participantDetails;
222222

223223
/// <summary>
224-
/// An event handler for a C# event containing the session as an argument.
224+
/// An event handler for a C# event.
225225
/// </summary>
226226
public delegate void EventHandler();
227227

228-
/// <summary>
229-
/// Event raised after session has been initialised, used for UXF functionality. Users should use similar OnSessionBegin UnityEvent.
230-
/// </summary>
231-
public event EventHandler onInitialise;
232-
233228
/// <summary>
234229
/// Event raised before session finished, used for UXF functionality. Users should use the similar OnSessionEnd UnityEvent.
235230
/// </summary>
@@ -388,7 +383,6 @@ public void Begin(string experimentName, string participantId, string baseFolder
388383
_hasInitialised = true;
389384

390385
// raise the session events
391-
if (onInitialise != null) onInitialise();
392386
onSessionBegin.Invoke(this);
393387

394388
// copy participant details to session folder

0 commit comments

Comments
 (0)