Skip to content

Commit

Permalink
install unity scheduler earlier (AfterAssembliesLoaded makes more sense)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Korostelev committed Jul 26, 2024
1 parent 1ce77b0 commit b17b6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinkState-Unity/Runtime/UnityBatchScheduler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace TinkState
{
public class UnityBatchScheduler : Scheduler
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterAssembliesLoaded)]
static void Init()
{
Observable.Scheduler = Instance;
Expand Down

0 comments on commit b17b6a7

Please sign in to comment.