Button to script: Wheres my function?

So I can see various custom functions in my script, but not others. Script compiles fine. Using Unity.JS Have tried making a new button, same problem. No Private or static variables or functions involved.

So why can’t I see some functions yet can see others?

@AaronC Those methods you show all have ‘yield WaitForSeconds()’ in them. Coroutines can’t be assigned to OnClick. You’ll need to make basic methods that can be assigned to the button that then call those coroutines.

Make sure the function you are trying to access is public. Not sure about JS, but in C# you would do this:

public void FunctionName()
{
     //do what ever here
}

Note the public before void.

maybe in JS it would be:

public function FunctionName()
{
     //do what ever here
}