I'm having problems to use this event with UIPopUpList. I am thinking this works the same as OnClick() with button, but I cannot get OnSelectionChange() to work. I'm afraid got more confused with the Localization example. I don't wish to use event receiver. Or do I have to?
currently I attached a script (javascript) to UIPopUpList gameobject and included the following code to it:
function OnSelectionChange() {
print("x");
}
On selection change nothing is happening. Can anyone help pls here?