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?