启动界面

This commit is contained in:
chenxi 2023-04-27 19:31:04 +08:00
parent 92771ae95d
commit add9c57de1

View File

@ -492,7 +492,7 @@ function First:showDialog(contentStr, callback)
self.cancelBtnTrans.gameObject:SetActive(false) self.cancelBtnTrans.gameObject:SetActive(false)
self.confirmBtnTrans.localPosition = { self.confirmBtnTrans.localPosition = {
x = 0, x = 0,
y = -161, y = -95,
z = 0 z = 0
} }
end end
@ -506,8 +506,8 @@ function First:showDialogComplex(contentStr, okCallback, cancelCallback, confirm
self.cancelCallback = cancelCallback self.cancelCallback = cancelCallback
self.cancelBtnTrans.gameObject:SetActive(true) self.cancelBtnTrans.gameObject:SetActive(true)
self.confirmBtnTrans.localPosition = { self.confirmBtnTrans.localPosition = {
x = 138, x = 124,
y = -161, y = -95,
z = 0 z = 0
} }
end end