The 3.0 switch over has thrown us for some loops as well. I'm posting on this thread as it is related to my problem.
Some may ask WHY was Event Receiver with Function Name removed from UIPopup list. I just want to know, how to get that functionality back or work around it. Was very easy for the scripting newbie - slam a function into the script, tie it to that and all done, just like buttons and onclick. Now it has some kind of delegate system. I also looked for the tutorials, found them, and discovered the mentioned Tutorial 11 for popup list is missing.
We will obviously always need good programmers to do the cool stuff, but basic setup of GUI shouldn't require them, IMO, with this kind of plug-in. Thx in advance for any replies!
The code in question switches the character controller. I had the popup list tied to this script:
private void OnControllerChange (string sel)
{
switch (sel) {
case "Default":
GameManager.Player.transform.SendMessage("OnControllerTypeChange",ControllerType.Normal);
break;
case "Mouse":
GameManager.Player.transform.SendMessage("OnControllerTypeChange",ControllerType.MouseRotation);
break;
case "Click":
GameManager.Player.transform.SendMessage("OnControllerTypeChange",ControllerType.ClickToMove);
break;
}
}
With the Cases listed in the list in UIPopup List.