bug修改
This commit is contained in:
@@ -41,6 +41,7 @@ namespace BingoBrain
|
||||
private bool isRiseUI;
|
||||
|
||||
private Action CloseCb;
|
||||
public int ui_index = 0;
|
||||
|
||||
public GodPleAcUI(GodPleAcUICtrl ctrl) : base(ctrl)
|
||||
{
|
||||
@@ -103,6 +104,8 @@ namespace BingoBrain
|
||||
|
||||
protected override void OnOpenBefore(object args)
|
||||
{
|
||||
ui_index = UnityEngine.Random.Range(0, 99999);
|
||||
Debug.Log("fasongyiciguanbi" + ui_index);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.MaskUI_Open);
|
||||
if (args is GodDa displayModel)
|
||||
{
|
||||
@@ -184,7 +187,11 @@ namespace BingoBrain
|
||||
|
||||
if (completeSum >= ui.com_Coins.numChildren)
|
||||
{
|
||||
var tw6 = DOVirtual.DelayedCall(0.2f, CtrlCloseUI);
|
||||
var tw6 = DOVirtual.DelayedCall(0.2f, () =>
|
||||
{
|
||||
uiCtrlDispatcher.Dispatch(SkinInfo.GodPleAcUI_Close, ui_index);
|
||||
Debug.Log("fasongyiciguanbi" + ui_index);
|
||||
});
|
||||
tweenQueue.Enqueue(tw6);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user