Ejemplo n.º 1
0
 private void GetResOnFinish <T>(ResAssurer assurer, Action <T> callback) where T : UnityEngine.Object
 {
     if (callback == null)
     {
         return;
     }
     if (assurer == null)
     {
         callback(null);
         return;
     }
     callback(assurer.Get <T>());
 }