Пример #1
0
 public AssetBundleLoader(string bundleName)
 {
     status          = eLoadStatus.idle;
     this.bundleName = bundleName;
     path            = ResourceSetting.GetBundlePathByBundleName(bundleName);
     resourceModule  = Mango.GetModule <ResourceModule>();
     taskModule      = Mango.GetModule <TaskModule>();
 }
Пример #2
0
 public AssetLoader(int id)
 {
     status         = eLoadStatus.idle;
     resID          = ResID.New(id);
     resourceModule = Mango.GetModule <ResourceModule>();
 }
Пример #3
0
 protected override void Init()
 {
     resourceModule = Mango.GetModule <ResourceModule>();
 }