private object ParseFont(string attribValue, bool throwOnError, ContentProcessorContext context) { try { return(Loaders.BuildFontExternal(context, attribValue)); } catch { if (throwOnError) { throw; } return(null); } }
private string ParseTexture2D(string attribValue, bool throwOnError, ContentProcessorContext context) { try { return(Loaders.BuildTextureExternal(context, attribValue)); } catch { if (throwOnError) { throw; } return(null); } }