Hi I'm trying to add my firebase realtime database url to unity using this code:-
FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("https://veritabani-linkiniz.firebaseio.com/");
But the unity doesn't recognize this code. Can anyone help?
Looking at the reference documentation for the FirebaseDatabase class, there doesn't seem to be a SetEditorDatabaseUrl method, so that would explain the error message.
You might be looking for:
FirebaseDatabase.getInstance("https://veritabani-linkiniz.firebaseio.com/")
getInstance should be
FirebaseDatabase.GetInstance("url-here");