I am a new to unity. Added a sliderInt to the visualelement but, the slider is shown in UI editor but now shown while in Game view. This is in UI Editor Where as in game view its is not shown up Here is the UXML and There is USS added for these elements <ui:VisualElement name="frame-rate-panel" style="flex-direction: row; align-items: center; justify-content: space-between; margin-left: 3px; margin-right: 3px; margin-top: 3px; margin-bottom: 3px; "> <ui:SliderInt picking-mode="Ignore" value="42" high-value="100" name="frame-rate-slider" style="flex-grow: 0; width: 75%; background-color: rgba(219, 88, 88, 255); " /> <ui:Label text="0 FPS" name="frame-rate" style="width: 25%; align-items: flex-end; justify-content: space-between; -unity-text-align: upper-right; font-size: 14px; " /> </ui:VisualElement>
SliderInt should work in Game view. Try to see what's wrong using the UIElements Debugger (Window > Analysis > UIElements Debugger). You need to select you Panel from the dropdown at the top-left corner of the debugger window.
I have an observation here, the slider is visible and able to capture the events when I used Default.USS instead of custom USS.