Script Compile Error - Magic Numbers UI

Hello, Can’t get pass this compile error.
Compile error is preventing linking script to button. (see ScreenShots)


Bonus question, can’t seem to turn on intellisense - this is the latest version of VS

Thanks, Mike
May 2021

Hi Mike,

Did you attach the SceneLoader script to a game object? If so, does the OnClick field of the Button reference that game object? Assigning the script directly does not work.

See also:

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

Privacy & Terms