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