Hi,
I know it may be a little trivial, but I'm trying to get the OnClick Event called on a UITexture but doesn't seem to work.
I'm attaching a screenshot as reference.
Am I missing something?
the attached behaviour contains a method:
public void OnClick()
{
Debug.Log("Click!");
if (!PreMatchManager.Instance.levelChosen
&& PreMatchManager.Instance.CanChooseLevel(levelNumber))
{
PreMatchManager.Instance.ChooseLevel(levelNumber);
}
}
that never gets called!