コード例 #1
0
 private void loadFatherJson()
 {
     if (String.IsNullOrEmpty(fatherOptionsPath))
     {
         Debug.LogWarning("fatherOptionsPath is empty");
         return;
     }
     try
     {
         _loader.setPath(fatherOptionsPath);
         string content = _loader.getJsonData();
         fatherOpts = _loader.parseOptionJsonData(content);
     }
     catch (Exception e) {
         Debug.LogException(e);
         return;
     }
 }