void Start()
 {
     RealtimeDBFactory.get().initDoneCB().add(i => {
         realtimeDB = i;
         realtimeDB.subscribe("geo", s => { onReslut(s); });
     });
 }
 private void putToDB()
 {
     RealtimeDBFactory.get().initDoneCB().add(i => {
         int ti     = (int)Time.time;
         string msg = "aaaa_" + ti;
         i.put("qq/22", msg);
         Debug.Log("putToDB:" + msg);
     });
 }
 void Start()
 {
     RealtimeDBFactory.get().initDoneCB().add(i => {
         i.subscribe("qq/22", s => {
             Debug.Log("val:" + s);
             Debug.Log("Count");
         });
     });
 }
 private void OnGUI()
 {
     if (GUILayout.Button("TEST"))
     {
         putToDB();
     }
     if (GUILayout.Button("TEST2"))
     {
         RealtimeDBFactory.get().initDoneCB().add(i => {
             putAll(i);
         });
     }
 }