| 12345678910111213141516171819202122232425 | 
							- using System.Collections.Generic;
 
- using UnityEngine;
 
- using FairyGUI;
 
- using VEngine;
 
- namespace GFGGame
 
- {
 
-     public class GFGGLoader : GLoader
 
-     {
 
-         protected override void LoadExternal()
 
-         {
 
-             Texture2D texture = GFGAsset.Load<Texture2D>(this.url);
 
-             if (texture != null)
 
-                 onExternalLoadSuccess(new NTexture(texture));
 
-             else
 
-                 onExternalLoadFailed();
 
-         }
 
-         protected override void FreeExternal(NTexture texture)
 
-         {
 
-             //释放外部载入的资源
 
-             GFGAsset.Release(this.url);
 
-         }
 
-     }
 
- }
 
 
  |