Complie Error - Magic Numbers 2D

Hi,

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: