public void getBookInfo() { Debug.Log("getInfo from Data: start"); BookGetInfo bookInfo = new BookGetInfo("system", 100001); bookInfo.getFromServer(_databaseReference, gettedData, null, null, false); }
public IEnumerator LoadBookData(string nameImg, string nameText, int idBook, string catName, bool isLeftPage) { if (_databaseReference == null) { initFizebase(); } BookGetInfo bookInfo = new BookGetInfo(catName, idBook); bookInfo.getFromServer(_databaseReference, gettedData, nameText, nameImg, isLeftPage); yield return(null); }