OnClick, parameter setup in editor becomes null??

Hi all,

I have the following setup, and I simply can’t figure out what i’m doing wrong?

When I click the Settings button and trigger the on Click on Menu - Canvas which calls the ShowMenu on the MenuManager, I get a null exception???

Hope someone can see what’s wrong with the setup…

Have a nice evening :slight_smile:

  • Henning

Hi all,

Ok, so the problem is in the editor! I downloaded the project for Modern GUI Development in Unity 4.6 - #9: Main Menu System - YouTube, as mentioned in the comment, and tested it, and it works… Well that’s until I drag the SAME object to the OnClick event as already set. Then it changes from script to GameObject. So it’s not me that’s nuts :wink:

I’ll download Patch 4.6.1p4 and see if that solves anything, else I’ll make a bug report.

Have a great day everybody. Now, go make games! :wink:

  • Henning