You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: UnityProject/Assets/Plugins/UniRx/Scripts/UnityEngineBridge/MainThreadDispatcher.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingSystem;
6
6
usingSystem.Collections;
7
7
usingSystem.Collections.Generic;
8
+
usingSystem.Runtime.ExceptionServices;
8
9
usingSystem.Reflection;
9
10
usingSystem.Threading;
10
11
usingUniRx.InternalUtil;
@@ -444,7 +445,7 @@ public static void Initialize()
444
445
// Throw exception when calling from a worker thread.
445
446
varex=newException("UniRx requires a MainThreadDispatcher component created on the main thread. Make sure it is added to the scene before calling UniRx from a worker thread.");
0 commit comments