h5sdk提交
This commit is contained in:
@@ -79,7 +79,7 @@ namespace BingoBrain
|
||||
{
|
||||
if (Screen.safeArea.y != 0 && !is_safearea)
|
||||
{//刘海屏
|
||||
// ui.group_.y += Screen.safeArea.y;
|
||||
ui.group_.y += Screen.safeArea.y;
|
||||
is_safearea = true;
|
||||
}
|
||||
Audio.Instance.StopBGM();
|
||||
@@ -94,6 +94,10 @@ namespace BingoBrain
|
||||
|
||||
InitData();
|
||||
InitView();
|
||||
ui.btn_pal.SetClick(() =>
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PalUI_Open);
|
||||
});
|
||||
}
|
||||
|
||||
private void InitData()
|
||||
@@ -386,8 +390,8 @@ namespace BingoBrain
|
||||
item.visible = true;
|
||||
item.scale = Vector2.one;
|
||||
item.alpha = 1;
|
||||
// item.position = new Vector2(4, -38);
|
||||
item.displayObject.gameObject.transform.localPosition = new Vector3(-189, -38);
|
||||
// item.position = new Vector2(5, -140);
|
||||
item.displayObject.gameObject.transform.localPosition = new Vector3(1100, -42);
|
||||
var localPos = GameHelper.FguiToUnityLocalPot(showComNumPot[4]);
|
||||
|
||||
item.displayObject.gameObject.transform.DOLocalMoveX(localPos.x, aniTime).SetEase(Ease.Linear);
|
||||
|
||||
Reference in New Issue
Block a user