Unity Tutorial: How to use Firebase Realtime Database

preview_player
Показать описание
Firebase offers a complete SDK in order to easily integrate its different services (database, authentication, etc). In this video, we would be looking into integrating the realtime database in a simple unity project.

......................................................................................

......................................................................................

✔✔ Follow us:

#Unity #Firebase #GameDev
Рекомендации по теме
Комментарии
Автор

oh friend ... I searched for something like this for 3 hours on google but nothing helped .... and finally you saved my time and mind ... I really really thank you bro

NUZASARY
Автор

best tutorial and precise saved alot of time

aitzazahsan
Автор

Why doesn't it work on the phone?

baslangcnbas
Автор

Can I do it in this way with Render Texture Real--time?

idontunderstandnihongoqwq
Автор

Hello,
Realtime database does not connect via WIFI but connects properly with 4G mobile networks. Any solution for that? Please help...

sonupal
Автор

Hello everyone! is anyone else running into an issue where the firebase packages are importing but not accessible in the C# scripting layer?

chrismulberry
Автор

Hi Dev,

Can you pls help me to sort this - "Your Realtime Database 'straight-drive' has insecure rules"
Thanks

nks
Автор

can u do a video about uploading video into firebase database in unity?

shingloong
Автор

Hi Dev!
your videos are very helpful and right now i am checking your all the videos. You have so much knowledge. God Bless you!
I have one issue right now that how we can upload a recording file from unity to firebase?
Can you help me ? I am waiting for your reply, It means a lot!
Thankyou So much!

gustavogunzalis
Автор

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.UI;
using Firebase;
using Firebase.Database;

public class FirebaseDBManager : MonoBehaviour
{

DatabaseReference reference;

public Text scoreText;


// Start is called before the first frame update
void Start()
{
reference =
FireDatabase.DefaultInstance
.GetReference("theScore")
.ValueChanged += HandleUpdateScore;

}

public void HandleUpdateScore(object sender, ValueChangedEventArgs args)
{
DataSnapshot snapshot = args.Snapshot;
scoreText.text = snapshot.Value.ToString();

}

public void UpdateScore()
{

.GetReference("theScore")
=>
{
if (task.IsCompleted)
{
DataSnapshot snapshot = task.Result;
int value =
value++;




}


});

}



}

ERROR CODES!!

Assets\FirebaseDBManager.cs(36, 9): error CS0103: The name 'FirebaseDatebase' does not exist in the current context
Assets\FirebaseDBManager.cs(21, 9): error CS0103: The name 'FireDatabase' does not exist in the current context
Assets\FirebaseDBManager.cs(20, 21): error CS0103: The name 'FireDatabase' does not exist in the current context



jackhepworth
welcome to shbcf.ru