parent
c4f9a9fda8
commit
6594dce2b3
|
@ -3353,8 +3353,8 @@ PLAYER_WALK_DIR = {
|
||||||
JINGYA = { animation = "jingya", y = 0 },
|
JINGYA = { animation = "jingya", y = 0 },
|
||||||
LAUCH = { animation = "lauch", y = 0 },
|
LAUCH = { animation = "lauch", y = 0 },
|
||||||
TOUCH = { animation = "touch", y = 0 },
|
TOUCH = { animation = "touch", y = 0 },
|
||||||
RIGHT = { animation = "move2", y = 0 },
|
RIGHT = { animation = "move2", y = 180 },
|
||||||
LEFT = { animation = "move2", y = 180 },
|
LEFT = { animation = "move2", y = 0 },
|
||||||
UP = { animation = "move3", y = 0 },
|
UP = { animation = "move3", y = 0 },
|
||||||
DOWN = { animation = "move", y = 0 },
|
DOWN = { animation = "move", y = 0 },
|
||||||
--有坐骑的时候
|
--有坐骑的时候
|
||||||
|
@ -3362,8 +3362,8 @@ PLAYER_WALK_DIR = {
|
||||||
IDLE_BACK = { animation = "ride_idle3", y = 180 },
|
IDLE_BACK = { animation = "ride_idle3", y = 180 },
|
||||||
IDLE_RIGHT = { animation = "ride_idle1", y = 180 },
|
IDLE_RIGHT = { animation = "ride_idle1", y = 180 },
|
||||||
IDLE_LEFT = { animation = "ride_idle1", y = 0 },
|
IDLE_LEFT = { animation = "ride_idle1", y = 0 },
|
||||||
RUN_RIGHT = { animation = "ride_move1", y = 180 },
|
RUN_RIGHT = { animation = "ride_move1", y = 0 },
|
||||||
RUN_LEFT = { animation = "ride_move1", y = 0 },
|
RUN_LEFT = { animation = "ride_move1", y = 180 },
|
||||||
RUN_UP = { animation = "ride_move3", y = 0 },
|
RUN_UP = { animation = "ride_move3", y = 0 },
|
||||||
RUN_DOWN = { animation = "ride_move2", y = 0 },
|
RUN_DOWN = { animation = "ride_move2", y = 0 },
|
||||||
}
|
}
|
||||||
|
|
|
@ -778,7 +778,6 @@ function SetHeroStars(spLoader, starGrid, star, type, _starSize, _scale, _pivot,
|
||||||
-- horizonta = starGrid:AddComponent(typeof(UnityEngine.UI.HorizontalLayoutGroup))
|
-- horizonta = starGrid:AddComponent(typeof(UnityEngine.UI.HorizontalLayoutGroup))
|
||||||
-- horizonta.childAlignment = "LowerLeft"
|
-- horizonta.childAlignment = "LowerLeft"
|
||||||
-- end
|
-- end
|
||||||
--LogError("star====="..star)
|
|
||||||
if type == nil then
|
if type == nil then
|
||||||
type = 1
|
type = 1
|
||||||
end
|
end
|
||||||
|
@ -826,7 +825,6 @@ function SetHeroStars(spLoader, starGrid, star, type, _starSize, _scale, _pivot,
|
||||||
starPre:GetComponent("LayoutGroup").spacing = scale
|
starPre:GetComponent("LayoutGroup").spacing = scale
|
||||||
starPre:GetComponent("RectTransform").pivot = pivot
|
starPre:GetComponent("RectTransform").pivot = pivot
|
||||||
starPre.transform:GetChild(0).gameObject:SetActive(false)
|
starPre.transform:GetChild(0).gameObject:SetActive(false)
|
||||||
--LogError("star============="..star.." type=========="..type)
|
|
||||||
if star < 7 and type and type == 3 then
|
if star < 7 and type and type == 3 then
|
||||||
starPre.transform:GetChild(0).gameObject:SetActive(true)
|
starPre.transform:GetChild(0).gameObject:SetActive(true)
|
||||||
for i = 2, 24 do
|
for i = 2, 24 do
|
||||||
|
@ -2229,7 +2227,6 @@ end
|
||||||
---- type, -- required, 调用时机
|
---- type, -- required, 调用时机
|
||||||
---- }
|
---- }
|
||||||
function SubmitExtraData(context)
|
function SubmitExtraData(context)
|
||||||
LogError("开始日志上报=================================")
|
|
||||||
if not AppConst.isSDKLogin then
|
if not AppConst.isSDKLogin then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -2257,7 +2254,6 @@ function SubmitExtraData(context)
|
||||||
if context.type == SDKSubMitType.TYPE_CHANGE_NAME then
|
if context.type == SDKSubMitType.TYPE_CHANGE_NAME then
|
||||||
params.zoneName = context.oldName
|
params.zoneName = context.oldName
|
||||||
end
|
end
|
||||||
LogError("开始日志上报==========================================================================================11111111")
|
|
||||||
SDKMgr:SubmitExtraData(params)
|
SDKMgr:SubmitExtraData(params)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -3230,7 +3226,6 @@ end
|
||||||
function GetOpenServerDayNum()
|
function GetOpenServerDayNum()
|
||||||
local serverOpenTime = PlayerManager.GetServerOpenTime()
|
local serverOpenTime = PlayerManager.GetServerOpenTime()
|
||||||
local openDay = math.ceil(math.max(0, GetTimeStamp() - serverOpenTime) / (60 * 60 * 24)) --当前是开服第几天
|
local openDay = math.ceil(math.max(0, GetTimeStamp() - serverOpenTime) / (60 * 60 * 24)) --当前是开服第几天
|
||||||
-- LogError("当前是开服第几天了:"..openDay)
|
|
||||||
return openDay
|
return openDay
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue