提交
This commit is contained in:
@@ -125,17 +125,17 @@ namespace BingoBrain
|
||||
|
||||
private void OnInitCompleted(object obj = null)
|
||||
{
|
||||
if (isFacebookLoginAndGetData)
|
||||
{
|
||||
DOVirtual.DelayedCall(ctrl.netIdleTime, () =>
|
||||
{
|
||||
isFacebookLoginAndGetData = false;
|
||||
PreferencesMgr.Instance.InitPreferences();
|
||||
PreferencesMgr.Instance.PlayerAvatarId = 0;
|
||||
uiCtrlDispatcher.Dispatch(SkinInfo.CheckReadyUI_Close);
|
||||
OnClickBtn();
|
||||
});
|
||||
}
|
||||
// if (isFacebookLoginAndGetData)
|
||||
// {
|
||||
// DOVirtual.DelayedCall(ctrl.netIdleTime, () =>
|
||||
// {
|
||||
// isFacebookLoginAndGetData = false;
|
||||
// PreferencesMgr.Instance.InitPreferences();
|
||||
// PreferencesMgr.Instance.PlayerAvatarId = 0;
|
||||
// uiCtrlDispatcher.Dispatch(SkinInfo.CheckReadyUI_Close);
|
||||
// OnClickBtn();
|
||||
// });
|
||||
// }
|
||||
}
|
||||
|
||||
public void OnClickBtn()
|
||||
|
||||
@@ -71,6 +71,7 @@ namespace BingoBrain
|
||||
CtrlCloseUI();
|
||||
});
|
||||
}
|
||||
ui.gift.selectedIndex = GameHelper.IsGiftSwitch() ? 1 : 0;
|
||||
}
|
||||
|
||||
private void OnClickSoundBtn()
|
||||
@@ -96,7 +97,7 @@ namespace BingoBrain
|
||||
{
|
||||
ui.text_version.SetVar("version", Application.version).FlushVars();
|
||||
|
||||
ui.text_uid.text = "UID:"+GameHelper.GetLoginModel().uid ;
|
||||
ui.text_uid.text = "UID:" + GameHelper.GetLoginModel().uid;
|
||||
ui.btn_music.btn_on.cont_btn.selectedIndex = model.IsOpenMusic ? btn_on.Btn_on : btn_on.Btn_off;
|
||||
ui.btn_sound.btn_on.cont_btn.selectedIndex = model.IsOpenEffect ? btn_on.Btn_on : btn_on.Btn_off;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user