设置界面修改
parent
67607a97a6
commit
2349eb93f3
|
@ -17733,7 +17733,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &1094151485460785958
|
--- !u!224 &1094151485460785958
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -692,7 +692,7 @@ function this.BattleLogic()
|
||||||
end
|
end
|
||||||
--this.hpBar.fillAmount=bossHp/curSoliderStageConfig.Hp
|
--this.hpBar.fillAmount=bossHp/curSoliderStageConfig.Hp
|
||||||
this.SetHp(curSoliderStageConfig.Hp,bossHp,curSoliderStageConfig.HpNumber)
|
this.SetHp(curSoliderStageConfig.Hp,bossHp,curSoliderStageConfig.HpNumber)
|
||||||
this.timeTxt.text=battleTime
|
this.timeTxt.text=string.format("限时:%ss",battleTime)
|
||||||
this.hpTxt.text=bossHp
|
this.hpTxt.text=bossHp
|
||||||
LogError("curSoliderStageConfig.Time===="..curSoliderStageConfig.Time.." curSoliderStageConfig.Hp=="..curSoliderStageConfig.Hp)
|
LogError("curSoliderStageConfig.Time===="..curSoliderStageConfig.Time.." curSoliderStageConfig.Hp=="..curSoliderStageConfig.Hp)
|
||||||
local bossPos=Vector3.New(this.enemyPos.transform.position.x,this.enemyPos.transform.position.y+1,0)
|
local bossPos=Vector3.New(this.enemyPos.transform.position.x,this.enemyPos.transform.position.y+1,0)
|
||||||
|
@ -783,7 +783,7 @@ function this.BattleLogic()
|
||||||
cd=0
|
cd=0
|
||||||
end
|
end
|
||||||
bossSpine.AnimationState:SetAnimation(0, "idle", true)
|
bossSpine.AnimationState:SetAnimation(0, "idle", true)
|
||||||
this.timeTxt.text=battleTime
|
this.timeTxt.text=string.format("限时:%ss",battleTime)
|
||||||
if bossHp<0 then
|
if bossHp<0 then
|
||||||
bossHp=0
|
bossHp=0
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,8 +6,8 @@ local funIndex = 1
|
||||||
local TabBox = require("Modules/Common/TabBox")
|
local TabBox = require("Modules/Common/TabBox")
|
||||||
local _TabData={
|
local _TabData={
|
||||||
[1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12266] , rpType = RedPointType.Setting_Head},
|
[1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12266] , rpType = RedPointType.Setting_Head},
|
||||||
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12267] , rpType = RedPointType.Setting_Ride},
|
--[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12267] , rpType = RedPointType.Setting_Ride},
|
||||||
[3] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12314],rpType = RedPointType.Setting_Title },
|
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12314],rpType = RedPointType.Setting_Title },
|
||||||
-- [4] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "时装",rpType = RedPointType.Setting_Skin },
|
-- [4] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "时装",rpType = RedPointType.Setting_Skin },
|
||||||
}
|
}
|
||||||
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
|
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
|
||||||
|
@ -19,9 +19,9 @@ this.contents = {
|
||||||
--称号
|
--称号
|
||||||
-- [2] = {view = require("Modules/Setting/SettingPlayerTitle"), panelName = "settingPlayerTitle"},
|
-- [2] = {view = require("Modules/Setting/SettingPlayerTitle"), panelName = "settingPlayerTitle"},
|
||||||
-- 时装
|
-- 时装
|
||||||
[2] = {view = require("Modules/Setting/SettingPlayerRide"), panelName = "settingPlayerRide"},
|
--[2] = {view = require("Modules/Setting/SettingPlayerRide"), panelName = "settingPlayerRide"},
|
||||||
-- 称号
|
-- 称号
|
||||||
[3] = {view = require("Modules/Setting/SettingPlayerTitle"), panelName = "settingPlayerTitle"},
|
[2] = {view = require("Modules/Setting/SettingPlayerTitle"), panelName = "settingPlayerTitle"},
|
||||||
--[4] = {view = require("Modules/Setting/SettingPlayerSkin"), panelName = "settingPlayerSkin"},
|
--[4] = {view = require("Modules/Setting/SettingPlayerSkin"), panelName = "settingPlayerSkin"},
|
||||||
}
|
}
|
||||||
--子模块预设
|
--子模块预设
|
||||||
|
|
Loading…
Reference in New Issue