public AssetBundleLoader(string bundleName) { status = eLoadStatus.idle; this.bundleName = bundleName; path = ResourceSetting.GetBundlePathByBundleName(bundleName); resourceModule = Mango.GetModule <ResourceModule>(); taskModule = Mango.GetModule <TaskModule>(); }
public AssetLoader(int id) { status = eLoadStatus.idle; resID = ResID.New(id); resourceModule = Mango.GetModule <ResourceModule>(); }
protected override void Init() { resourceModule = Mango.GetModule <ResourceModule>(); }
protected override void OnInit() { Mango.GetModule <UpdateModule>().onUpdate.AddListener(Update); }