示例#1
0
 public static void RegisterLoader <T>(string assetName, Loadhandler <T> handler)
 {
     Loaders.Add(new Asset(typeof(T), GetPlatformSafePath(assetName)), handler);
 }
 public static void RegisterLoader <T>(Loadhandler <T> handler)
 {
     Loaders.Add(typeof(T), handler);
 }