Beispiel #1
0
 private static void HandleDatabaseConnection(object sender, ValueChangedEventArgs args)
 {
     if (args.DatabaseError != null)
     {
         Debug.LogError(args.DatabaseError.Message);
         return;
     }
     RPCBoolObserver.Notify((bool)args.Snapshot.Value);
 }
Beispiel #2
0
 public void ReceiveDBConnection(bool isConnectedDB)
 {
     RPCBoolObserver.Notify(isConnectedDB);
 }