Skip to content

Commit b8414c0

Browse files
committed
Adding missed invoke of onBlockBegin and onBlockEnd
1 parent f97f1e1 commit b8414c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/UXF/Scripts/Etc/Trial.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void Begin()
122122

123123
if (this == block.firstTrial)
124124
{
125-
// call block on begin event
125+
session.onBlockBegin.Invoke(block);
126126
}
127127

128128
session.onTrialBegin.Invoke(this);
@@ -146,7 +146,7 @@ public void End()
146146

147147
if (this == block.lastTrial)
148148
{
149-
// call block on end event
149+
session.onBlockEnd.Invoke(block);
150150
}
151151
}
152152

0 commit comments

Comments
 (0)