public void LoadPersistentAndRaw(string path, Action <WWW> persistentCallBack, Action <WWW> rawCallBack) { if (ResourceURL.CheckPersistentFileExists(path)) { LoadLocal(ResourceURL.GetPersistentPath(path), persistentCallBack); } LoadLocal(ResourceURL.GetRawPath(path), rawCallBack); }
public void PriorLoadPersistent(bool priorLoadPersistent, string path, Action <WWW> callBack) { if (priorLoadPersistent && ResourceURL.CheckPersistentFileExists(path)) { LoadLocal(ResourceURL.GetPersistentPath(path), callBack); } else { LoadLocal(ResourceURL.GetRawPath(path), callBack); } }