Example #1
0
 void Awake()
 {
     //Using our custom sync context.
     CustomUnitySynchronizationContext.InitializeSynchronizationContext();
     gameObject.AddComponent <UnitySyncContextTickable>();
 }
Example #2
0
 private void Update()
 {
     CustomUnitySynchronizationContext.ExecuteTasks();
 }