Esempio n. 1
0
 private void LivesManager_LivesChanged(bool gained, int newLives)
 {
     UnityMainThreadDispatcher.Instance().Enqueue(() => SetupButtons());
 }
Esempio n. 2
0
 private void Logout()
 {
     Debug.Log("Logout");
     UnityMainThreadDispatcher.Instance().Enqueue(() => _textComponent.text = "LogoutComplete");
 }
Esempio n. 3
0
 private void LoginError(string error)
 {
     Debug.LogError(error);
     UnityMainThreadDispatcher.Instance().Enqueue(() => _textComponent.text = "LoginError");
 }
Esempio n. 4
0
 private void Members(string obj)
 {
     Debug.Log("Members");
     UnityMainThreadDispatcher.Instance().Enqueue(() => _textComponent.text = obj);
 }
 void OnDestroy()
 {
     _instance = null;
 }
Esempio n. 6
0
 private void LivesManager_LivesChanged(bool gained, int newLives)
 {
     UnityMainThreadDispatcher.Instance().Enqueue(() => UpdateHeartDisplay(gained, newLives));
 }