Ejemplo n.º 1
0
 internal static void decRef(string[] depends)
 {
     if (depends == null)
     {
         return;
     }
     for (int i = 0, max = depends.Length; i < max; ++i)
     {
         string key = depends [i];
         if (string.IsNullOrEmpty(key))
         {
             continue;
         }
         ResLoad.decAssetRef(key);
     }
 }
Ejemplo n.º 2
0
 internal void  decRef()
 {
     if (mDepends == null)
     {
         return;
     }
     for (int i = 0, max = mDepends.Length; i < max; ++i)
     {
         string key = mDepends [i];
         if (string.IsNullOrEmpty(key))
         {
             continue;
         }
         ResLoad.decAssetRef(key);
     }
     mDepends = null;
 }