UIButton buttonBg1 = goTipsBg.GetComponent<UIButton>();
EventDelegate ev = new EventDelegate(this, "ButtonBgOnClick");
ev.parameters[0].obj = pbtn;
EventDelegate ev = new EventDelegate(this, "ButtonBgOnClick");
ev.parameters[0].obj = pbtn;
EventDelegate.Add(buttonBg1.onClick, ev);
//、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、
if (atlasMain == null)
{
atlasMain = Resources.Load("Atlas/main", typeof(UIAtlas)) as UIAtlas;
}
spritIcon.atlas = atlasMain;
spritIcon.spriteName = Util.toCoinString(mb.coinType);