Search Unity

Firebase in Unity - get Children

Discussion in 'Formats & External Tools' started by mole1984, Mar 12, 2017.

  1. mole1984

    mole1984

    Joined:
    Mar 16, 2015
    Posts:
    14
    Hi guys,

    I´m trying to integrate firebase in my project and it works for my db-data, but i cannot get the children.

    This is my database tree and i like to get the groups of user 1:

    upload_2017-3-12_15-34-23.png

    - How can I get the result "group1" and "group5" if i´m asking for user one?

    This is my Code:

    upload_2017-3-12_15-43-46.png


    For the last line i just get thsi back:
    upload_2017-3-12_15-36-45.png

    How can i convert it?
     
    Last edited: Mar 12, 2017
    ole1288 likes this.