protected virtual void destroy()
 {
     foreach (KeyValuePair <CallbackToken, List <RequestImageCallback> > completionCallback in completionCallbacks)
     {
         List <RequestImageCallback> value = completionCallback.Value;
         for (int i = 0; i < value.Count; i++)
         {
             value[i](success : false, null, completionCallback.Key);
         }
     }
     completionCallbacks.Clear();
     CoroutineRunner.StopAllForOwner(this);
     imageCache.ClearSessionCachedImages();
 }
Пример #2
0
 public void ClearCache()
 {
     imageCache.ClearSessionCachedImages();
 }