예제 #1
0
 // load Stuff Data
 private void loadStuffJson()
 {
     if (String.IsNullOrEmpty(stuffJsonPath))
     {
         Debug.LogWarning("stuffJsonPath is empty");
         return;
     }
     try
     {
         _loader.setPath(stuffJsonPath);
         string content = _loader.getJsonData();
         stuffs = _loader.parseStuffJsonData(content);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
 }