예제 #1
0
 public static T Load <T> (string _bundle, string _res) where T : Object
 {
     if (null == resLoaderImpl)
     {
         Log.Error("ResBundle", "resLoaderImpl is null");
         return(null);
     }
     return(resLoaderImpl.Load <T> (_bundle, _res));
 }
예제 #2
0
 private T _Load <T>(string path) where T : UnityEngine.Object
 {
     return(_resLoader.Load <T>(path));
 }