コード例 #1
0
 public void OnBtnSave()
 {
     // TODO: on err, inform abt err and unblock
     if (_uDraft._magnitude > 0f)
     {
         BlockScreen(true, "Please wait while saving unit on server is going on...");
         string uJSON = JsonUtility.ToJson(_uDraft);
         _unitProvider.ReqSaveUnitJSON(uJSON);
     }
 }