public override bool SetParameter( string attr, string val )
{
if ( attribParsers.ContainsKey( attr ) )
{
object[] args = new object[ 2 ];
args[ 0 ] = val.Split( ' ' );
args[ 1 ] = this;
attribParsers[ attr ].Invoke( null, args );
//ParticleSystemRendererAttributeParser parser =
// (ParticleSystemRendererAttributeParser)attribParsers[attr];
//// call the parser method
//parser(val.Split(' '), this);
return true;
}
return false;
}