NGUI EventDelegate 传递参数
EventDelegate ev = new EventDelegate(); ev.methodName = "mymethod"; ev.parameters[0] = new EventDelegate.Parameter(); ev.parameters[0].obj = gameObject.transform; EventDelegate.Add(gameObject.GetCompnent<UIButton>().OnClick,ev);
参数只能是gameObject的属性
http://www.narkii.com/club/thread-336701-1.html