From playmaker, how do you run a C# function? Below is the script name and the function I want to run. This is to be run when a person clicks a button. (I am re-doing part of code from someone else. I do not want to redo what he did but just how to get there).
Script Name: Settings
Function Name: LoadNextLevel()
Here is function to call
// load next level to play
public void LoadNextLevel(){
bool last = LastLevel(); // check if last level
if(!last){
cHole++;
Application.LoadLevel(holeLevel[cHole]); // load next hole
}
}