feat(receiver): makes receiver properly async and adds progress reporting

This commit is contained in:
Matteo Cominetti
2021-02-10 20:17:07 +00:00
parent 6c8e2d3635
commit fcaa65e7ae
4 changed files with 87 additions and 64 deletions
+3 -2
View File
@@ -14,9 +14,10 @@ public class ScriptableObjectExample : MonoBehaviour
void Start()
{
return;
receiver.Init();
receiver.Receive().ConfigureAwait(false);
receiver.Receive();
//... do more stuff eg set materials, subscribe to changes etc
}