예제 #1
0
 public override NamedPicture IntegrateImplementType <ParamAssetType>(ParamAssetType asset, AssetUnitInfo auInfo, AssetRequestUnit assetReqUnit)
 {
     if (typeof(ParamAssetType) == typeof(Sprite))
     {
         return(new NamedPicture {
             asset = (Sprite)(object)asset, name = AssetUtils.ExtractPackedAssetAttribute(auInfo.attributes)[0]
         });
     }
     return(null);
 }