I am trying to associate a function to the onClick() button script in Unity. This is related to this tutorial:
Creating a Scene Selection Menu: LoadOnClick.cs
If I do something like this it works and exposes an int that I can change in the editor:
public void LoadScene ( int level )
However, if I add an additional value it no longer works and I can’t assign the function to the button’s OnClick():
public void LoadScene ( int level, bool isAdditive)
What I’m I doing wrong?
Thanks!,
Kenny
www.gameofloot.com
www.superultrahyper.com