Can't find SceneLoader function

When I try to attach the LoadNextScene button to the ‘success’ button, it can’t find it. Even though I have attached SceneLoader to the button, it just offers “No function” or “MonoScript” when I look for the function.

Hi,

Did you assign a game object with the script to the “on click” field? If not, do that. Also make sure that your LoadNextScene method is public.


See also:

Thank you Nina. I assigned a script instead of the game object. Appreciate your help.

I’m glad the solution was so simple. :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms