/// <summary> /// Returns true if the specified source can be loaded /// </summary> public override bool CanLoad( ISource source ) { if ( source is IFolder ) { return ( ( IFolder )source ).Contains( "*.md3" ); } return source.HasExtension( "md3" ); }
/// <summary> /// Returns true if this loader can load the asset at the specified location /// </summary> /// <param name="source">Asset source</param> /// <returns>Returns the </returns> public override bool CanLoad( ISource source ) { return source.HasExtension( "xml" ); }