TCX_LongZhu
parent
dcb30e7189
commit
4e44959920
|
@ -312,7 +312,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -0.5, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &1347644479180454394
|
--- !u!1 &1347644479180454394
|
||||||
|
@ -607,7 +607,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -0.5, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &2941289483775644879
|
--- !u!1 &2941289483775644879
|
||||||
|
@ -782,7 +782,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -0.5, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &3324126768968419674
|
--- !u!1 &3324126768968419674
|
||||||
|
@ -1458,7 +1458,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -0.5, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &7421149421245160652
|
--- !u!1 &7421149421245160652
|
||||||
|
@ -1563,7 +1563,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -0.5, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &8378516243967797183
|
--- !u!1 &8378516243967797183
|
||||||
|
@ -1703,6 +1703,6 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -0.5, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
|
|
@ -126439,10 +126439,10 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
tweenSequeue:
|
tweenSequeue:
|
||||||
- initV3: {x: -85, y: 262, z: 0}
|
- initV3: {x: 316, y: 450, z: 0}
|
||||||
initFloat: 0
|
initFloat: 0
|
||||||
isInit: 1
|
isInit: 1
|
||||||
changeV3: {x: -85, y: 306, z: 0}
|
changeV3: {x: 316, y: 420, z: 0}
|
||||||
changeFloat: 0
|
changeFloat: 0
|
||||||
duration: 1
|
duration: 1
|
||||||
delay: 0
|
delay: 0
|
||||||
|
|
|
@ -91,7 +91,7 @@ Material:
|
||||||
- _UseUIAlphaClip: 0
|
- _UseUIAlphaClip: 0
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _Color: {r: 0.078431375, g: 0.14509805, b: 1, a: 1}
|
- _Color: {r: 1, g: 0, b: 0, a: 1}
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
|
|
@ -111,6 +111,7 @@ function FightPointPassMainPanel:InitComponent()
|
||||||
|
|
||||||
|
|
||||||
this.btnrewardDetail = Util.GetGameObject(self.gameObject, "Bg/btnRdDetail/click")
|
this.btnrewardDetail = Util.GetGameObject(self.gameObject, "Bg/btnRdDetail/click")
|
||||||
|
this.btnreward = Util.GetGameObject(self.gameObject, "Bg/getBoxReward/getBoxReward/btn")
|
||||||
|
|
||||||
this.btnFight = Util.GetGameObject(self.gameObject, "Bg/btnDown/btnFight")
|
this.btnFight = Util.GetGameObject(self.gameObject, "Bg/btnDown/btnFight")
|
||||||
this.fightText = Util.GetGameObject(this.btnFight, "Text"):GetComponent("Text")
|
this.fightText = Util.GetGameObject(this.btnFight, "Text"):GetComponent("Text")
|
||||||
|
@ -304,6 +305,9 @@ function FightPointPassMainPanel:BindEvent()
|
||||||
UIManager.OpenPanel(UIName.FightAreaRewardPopup)
|
UIManager.OpenPanel(UIName.FightAreaRewardPopup)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Util.AddClick(this.btnreward, function()
|
||||||
|
UIManager.OpenPanel(UIName.FightAreaRewardPopup)
|
||||||
|
end)
|
||||||
-- 我要喝牛奶变强
|
-- 我要喝牛奶变强
|
||||||
Util.AddClick(this.btnGetForce, function()
|
Util.AddClick(this.btnGetForce, function()
|
||||||
--UIManager.OpenPanel(UIName.GiveMePowerPanel)
|
--UIManager.OpenPanel(UIName.GiveMePowerPanel)
|
||||||
|
|
|
@ -1457,8 +1457,8 @@ function this:OnceDamaged(livego, livenode, dmg, bCrit, combat, skill, isLeft, t
|
||||||
if DoColor_Spine_Tweener[targetIndex] then
|
if DoColor_Spine_Tweener[targetIndex] then
|
||||||
DoColor_Spine_Tweener[targetIndex]:Kill()
|
DoColor_Spine_Tweener[targetIndex]:Kill()
|
||||||
end
|
end
|
||||||
|
--[[
|
||||||
DoColor_Spine_Tweener[targetIndex] = Util.DoColor_Spine(livenode:GetComponent(SpineComponentName),
|
DoColor_Spine_Tweener[targetIndex] = Util.DoColor_Spine(livenode:GetComponent(SpineComponentName),
|
||||||
Color.New(1, 0, 0, 1), 0.3):OnComplete(
|
Color.New(1, 0, 0, 1), 0.3):OnComplete(
|
||||||
function()
|
function()
|
||||||
if not isPlay then
|
if not isPlay then
|
||||||
|
@ -1468,7 +1468,8 @@ function this:OnceDamaged(livego, livenode, dmg, bCrit, combat, skill, isLeft, t
|
||||||
Color.New(1, 1, 1, 1), 0.1)
|
Color.New(1, 1, 1, 1), 0.1)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
]]
|
||||||
|
|
||||||
-- 播放受击动画
|
-- 播放受击动画
|
||||||
if isLastDamage and skill.Type == 2 then
|
if isLastDamage and skill.Type == 2 then
|
||||||
self:PlaySpineAnim(livenode:GetComponent(SpineComponentName), 0, RoleAnimationName.Hurt, false)
|
self:PlaySpineAnim(livenode:GetComponent(SpineComponentName), 0, RoleAnimationName.Hurt, false)
|
||||||
|
|
Loading…
Reference in New Issue