public Class Panel_ATMRechage : IPanel{
private Dictionary<string,UISprite>mSprites;
}
protected override void OnAwake()
{
mSprites = UI.GetUIElement<UISprite>(transform);
UIEventlistener.Get(mSprites["Mask"].gameObject).onClick = OnMaskClick;
}
private void OMaskClick(GameObject obj)
{
SetVisible(false);
}
遮罩的Sprite层级关系 在最下层 一帮2000*2000就够用