- Home /
Slider OnValueChanged() not showing object methods in Inspector.
There are thousands of questions similar to this one but I thought I did everything right this time...
I have a slider and I want it to execute the following function:
public void setDigression(int newDigression)
{
digression=newDigression;
}
The function is public and has a void return type, has only one parameter, and it's containing script is attached to an empty object with the same name which I dragged to the inspector, but as you can see, non of the functions contained within the script show up show up:
Screenshot wouldn't upload here so I put it on Imgur.
What am I doing wrong?
Answer by theriser777 · Mar 30 at 06:18 PM
@qsp18 Should've tried that first before asking, thank you.
Your answer
![](https://koobas.hobune.stream/wayback/20220613054823im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Triple Slider control - UI slider value control 1 Answer
Can't drag slider onto inspector 1 Answer
[UI QUESTION] How to drecrease the UI points while the player does more actions 0 Answers
SteamVR Slider won't drag using VR Controller,SteamVR-controller can't drag Slider handle 0 Answers
How to ADD one Buttons.onClick events to another Buttons.onClick? 1 Answer