Ejemplo n.º 1
0
 public void MakeCloud()
 {
     CloudData.SaveInCloud(this, () => {
         Debug.Log("MakeCould: Success");
     },
                           (string s) => {
         Debug.Log("MakeCould: Failed");
         Debug.Log("Exception: " + s);
     });
 }
Ejemplo n.º 2
0
        public void AddToUser()
        {
            objectId = null;

            CloudData.SaveInCloud(this, () => {
                Debug.Log("Save In Cloud: Success");
            },
                                  (string s) => {
                Debug.Log("Save In Cloud: Failed");
                Debug.Log("Exception: " + s);
            });
        }
Ejemplo n.º 3
0
        private void GetModelDataListFromCloud()
        {
            _state = State.Waiting;

            CloudData.GetUserModelDataListFromCloud(modelDatas => {
                Debug.Log("Get Model Data List form Cloud Success");
                _modelDataList = modelDatas;
                _state         = State.Success;
            },
                                                    message => {
                Debug.Log("Get Model Data List form Cloud Failed");
                Debug.Log("Exception: " + message);
                _state = State.Failed;
            });
        }