public static bool Accepts( Item item ) { if ( item == null ) return false; Type type = item.GetType(); for ( int i = 0; i < m_Decorations.Length; i ++ ) { if ( type == m_Decorations[ i ] ) return true; } return false; }