예제 #1
0
 internal ResourceMapManager(List <System.Object> json)
 {
     foreach (var o in json)
     {
         var r = ResourceMap.FromJson(o as Dictionary <string, System.Object>);
         all.Add(r);
         guidMap[r.guid] = r;
         if (r.isr == 1)
         {
             resourcesMap[r.rpath.ToLower()] = r;
         }
         if (r.type == "monobehaviour")
         {
             csMap[r.path.ToLower()] = r;
         }
     }
 }