zhangjiannan 2025-04-18 20:54:33 +08:00
parent c4f9a9fda8
commit 6594dce2b3
2 changed files with 4 additions and 9 deletions

View File

@ -3353,8 +3353,8 @@ PLAYER_WALK_DIR = {
JINGYA = { animation = "jingya", y = 0 },
LAUCH = { animation = "lauch", y = 0 },
TOUCH = { animation = "touch", y = 0 },
RIGHT = { animation = "move2", y = 0 },
LEFT = { animation = "move2", y = 180 },
RIGHT = { animation = "move2", y = 180 },
LEFT = { animation = "move2", y = 0 },
UP = { animation = "move3", y = 0 },
DOWN = { animation = "move", y = 0 },
--有坐骑的时候
@ -3362,8 +3362,8 @@ PLAYER_WALK_DIR = {
IDLE_BACK = { animation = "ride_idle3", y = 180 },
IDLE_RIGHT = { animation = "ride_idle1", y = 180 },
IDLE_LEFT = { animation = "ride_idle1", y = 0 },
RUN_RIGHT = { animation = "ride_move1", y = 180 },
RUN_LEFT = { animation = "ride_move1", y = 0 },
RUN_RIGHT = { animation = "ride_move1", y = 0 },
RUN_LEFT = { animation = "ride_move1", y = 180 },
RUN_UP = { animation = "ride_move3", y = 0 },
RUN_DOWN = { animation = "ride_move2", y = 0 },
}

View File

@ -778,7 +778,6 @@ function SetHeroStars(spLoader, starGrid, star, type, _starSize, _scale, _pivot,
-- horizonta = starGrid:AddComponent(typeof(UnityEngine.UI.HorizontalLayoutGroup))
-- horizonta.childAlignment = "LowerLeft"
-- end
--LogError("star====="..star)
if type == nil then
type = 1
end
@ -826,7 +825,6 @@ function SetHeroStars(spLoader, starGrid, star, type, _starSize, _scale, _pivot,
starPre:GetComponent("LayoutGroup").spacing = scale
starPre:GetComponent("RectTransform").pivot = pivot
starPre.transform:GetChild(0).gameObject:SetActive(false)
--LogError("star============="..star.." type=========="..type)
if star < 7 and type and type == 3 then
starPre.transform:GetChild(0).gameObject:SetActive(true)
for i = 2, 24 do
@ -2229,7 +2227,6 @@ end
---- type, -- required, 调用时机
---- }
function SubmitExtraData(context)
LogError("开始日志上报=================================")
if not AppConst.isSDKLogin then
return
end
@ -2257,7 +2254,6 @@ function SubmitExtraData(context)
if context.type == SDKSubMitType.TYPE_CHANGE_NAME then
params.zoneName = context.oldName
end
LogError("开始日志上报==========================================================================================11111111")
SDKMgr:SubmitExtraData(params)
end
@ -3230,7 +3226,6 @@ end
function GetOpenServerDayNum()
local serverOpenTime = PlayerManager.GetServerOpenTime()
local openDay = math.ceil(math.max(0, GetTimeStamp() - serverOpenTime) / (60 * 60 * 24)) --当前是开服第几天
-- LogError("当前是开服第几天了:"..openDay)
return openDay
end