protected virtual ISpawnable CreateSpawnedObject( int index )
{
if ( index >= m_SpawnNames.Count )
return null;
Type type = ScriptCompiler.FindTypeByName( ParseType( m_SpawnNames[index] ) );
if ( type != null )
{
try
{
return Build( type, CommandSystem.Split( m_SpawnNames[index] ) );
}
catch
{
}
}
return null;
}