How set up buttons for use in UCC?

I'm trying to set up a pause menu in unity but I can't get the buttons to work in the scenes with Ultimate Character Controller characters. How are the buttons in the demo scene set up?
 

ChristianWiele

Moderator
Staff member
The demo scene uses the old Unity input system. The button mappings are defined in the Project Settings -> Input Manager -> Axes. The UnityInput (inherited from PlayerInput) component then does the mapping from the input system to the UCC components. There are also integrations for the new input system, and for external solutions like Rewired or Control Freak.
But you can always check input independent from UCC.
 
The demo scene uses the old Unity input system. The button mappings are defined in the Project Settings -> Input Manager -> Axes. The UnityInput (inherited from PlayerInput) component then does the mapping from the input system to the UCC components. There are also integrations for the new input system, and for external solutions like Rewired or Control Freak.
But you can always check input independent from UCC
I was unclear, sorry! By buttons I meant the UI Element not the input mapping. When I use UI Buttons in a scene with UCC controller characters the buttons can't be pressed and mousing over them doesn't change their color the way it should.
 

ChristianWiele

Moderator
Staff member
This is not specific to UCC. You probably only need to add a GraphicRaycaster component to your canvas, otherwise you can't interact with UI elements.
 
Top