private Type[] m_list = new Type[] { typeof(gear), typeof(gear1), typeof(gear3) };
if (m_list.Contains(gears)) { ... }