引导修改
parent
33eae40f5c
commit
ef79b7871e
|
@ -4958,7 +4958,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: -955.8}
|
||||
m_AnchoredPosition: {x: 0, y: -784}
|
||||
m_SizeDelta: {x: 954, y: 562.30005}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &2781343876037430039
|
||||
|
|
|
@ -834,7 +834,7 @@ function this.BattleLogic()
|
|||
--end
|
||||
end
|
||||
curAttack=allAttacck
|
||||
LogError("curAttack======================================="..allAttacck)
|
||||
--LogError("curAttack======================================="..allAttacck)
|
||||
--this.hpBar.fillAmount=bossHp/curSoliderStageConfig.Hp
|
||||
--this.SetHp(curSoliderStageConfig.Hp,bossHp,curSoliderStageConfig.HpNumber)
|
||||
cd=0
|
||||
|
@ -1057,18 +1057,20 @@ function FightPointPassMainPanel:OnOpen(func)
|
|||
end
|
||||
end
|
||||
function FightPointPassMainPanel:OnFocus()
|
||||
GuideManager.CheckFuncGuide()
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FirstRecharge)
|
||||
if activityId and activityId~=0 and ActTimeCtrlManager.SingleFuncState(1) then
|
||||
this.btnFirstRechar:SetActive(true)
|
||||
else
|
||||
this.btnFirstRechar:SetActive(false)
|
||||
end
|
||||
GuideManager.CheckFuncGuide()
|
||||
|
||||
end
|
||||
|
||||
|
||||
-- 从战斗出来会加载两次
|
||||
function FightPointPassMainPanel:OnShow()
|
||||
GuideManager.CheckFuncGuide()
|
||||
--LogError("SmallSoldierManager.changeSolider.type=========="..SmallSoldierManager.changeSolider.type)
|
||||
this.RefreshSoliderInfo()
|
||||
this.BattleLogic()
|
||||
|
|
|
@ -97,6 +97,8 @@ function SmallSoldierInfoPanel:BindEvent()
|
|||
else
|
||||
sureFunc()
|
||||
end
|
||||
else
|
||||
sureFunc()
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ function this.InitData(msg)
|
|||
cd=lvConfig.Time
|
||||
bossHp=lvConfig.Hp
|
||||
if PlayerPrefs.GetInt("SmallSoldierFailed"..PlayerManager.uid)~=FightPointPassManager.soldierLayerId then
|
||||
if not GuideManager.IsInMainGuide() and UIManager.GetOpenPanel(UIName.BattlePanel)==nil then
|
||||
if not GuideManager.IsInMainGuide() and UIManager.GetOpenPanel(UIName.BattlePanel)==nil and UIManager.GetOpenPanel(UIName.BattleWinPopup)==nil then
|
||||
UIManager.OpenPanel(UIName.SmallSoldierFailPop)
|
||||
end
|
||||
PlayerPrefs.SetInt("SmallSoldierFailed"..PlayerManager.uid,FightPointPassManager.soldierLayerId)
|
||||
|
|
|
@ -932,7 +932,7 @@ end
|
|||
|
||||
function this:OnSortingOrderChange()
|
||||
--LogError("CheckFuncGuide()==============================================检测引导")
|
||||
|
||||
GuideManager.CheckFuncGuide()
|
||||
-- self.sceneTran.gameObject:GetComponent("Canvas").sortingOrder = self.sortingOrder - 4
|
||||
-- Util.GetGameObject(self.sceneTran.gameObject, "layer7"):GetComponent("Canvas").sortingOrder = self.sortingOrder - 3
|
||||
this.npcRoot:GetComponent("Canvas").sortingOrder = self.sortingOrder - 2
|
||||
|
|
Loading…
Reference in New Issue