添加动画
parent
93dbd1648a
commit
9745834de4
|
|
@ -1228,7 +1228,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: -56, y: 366}
|
||||
m_AnchoredPosition: {x: -1490, y: 366}
|
||||
m_SizeDelta: {x: 966.1, y: 631.1}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &110786301129899403
|
||||
|
|
@ -1426,7 +1426,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: -56, y: -415}
|
||||
m_AnchoredPosition: {x: 1490, y: -415}
|
||||
m_SizeDelta: {x: 966.1, y: 631.1}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8297166399330346602
|
||||
|
|
@ -2240,6 +2240,7 @@ GameObject:
|
|||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1295965547740137698}
|
||||
- component: {fileID: 5591763025022869435}
|
||||
m_Layer: 0
|
||||
m_Name: content
|
||||
m_TagString: Untagged
|
||||
|
|
@ -2268,6 +2269,48 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &5591763025022869435
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2979872552327346480}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fcf53bbee510dca40b2f81e3c0d426c6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
tweenSequeue:
|
||||
- initV3: {x: -1490, y: 366, z: 0}
|
||||
initFloat: 0
|
||||
isInit: 1
|
||||
changeV3: {x: -56, y: 366, z: 0}
|
||||
changeFloat: 0
|
||||
duration: 0.3
|
||||
delay: 0
|
||||
curveType: 1
|
||||
changeType: 0
|
||||
sequeueType: 0
|
||||
loop: 0
|
||||
loopType: 0
|
||||
targetObj: {fileID: 7394707285829597913}
|
||||
- initV3: {x: 1490, y: -415, z: 0}
|
||||
initFloat: 0
|
||||
isInit: 1
|
||||
changeV3: {x: -56, y: -415, z: 0}
|
||||
changeFloat: 0
|
||||
duration: 0.3
|
||||
delay: 0
|
||||
curveType: 1
|
||||
changeType: 0
|
||||
sequeueType: 1
|
||||
loop: 0
|
||||
loopType: 0
|
||||
targetObj: {fileID: 2857972376571971649}
|
||||
isPlayAudio: 1
|
||||
isHaveCloseBtn: 0
|
||||
isPlayOnOpen: 1
|
||||
--- !u!1 &3229093599019750937
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -85,7 +85,7 @@ function ArenaTypePanel:OnShow()
|
|||
this.TimeCounter = Timer.New(this.TimeUpdate, 1, -1, true)
|
||||
this.TimeCounter:Start()
|
||||
this.TimeUpdate()
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
-- 刷新竞技场显示
|
||||
|
|
|
|||
|
|
@ -11,27 +11,27 @@ function ATM_MainMatchView:InitComponent()
|
|||
|
||||
this.containPanel = Util.GetGameObject(self.gameObject, "contain")
|
||||
this.lockPanel = Util.GetGameObject(self.gameObject, "contain/LockBg")
|
||||
this.lockContext = Util.GetGameObject(this.lockPanel, "context"):GetComponent("Text")
|
||||
this.lockTime = Util.GetGameObject(this.lockPanel, "JoinRoot/time"):GetComponent("Text")
|
||||
this.lockTip = Util.GetGameObject(this.lockPanel, "JoinRoot/tip"):GetComponent("Text")
|
||||
this.outTip = Util.GetGameObject(this.lockPanel, "OutRoot/Text"):GetComponent("Text")
|
||||
this.WeedOutText = Util.GetGameObject(this.lockPanel, "WeedOutRoot/Text"):GetComponent("Text")
|
||||
this.WeedOutMyRank = Util.GetGameObject(this.lockPanel, "WeedOutRoot/MyRank"):GetComponent("Text")
|
||||
this.WeedOutMyRankText = Util.GetGameObject(this.lockPanel, "WeedOutRoot/MyRank/Text"):GetComponent("Text")
|
||||
this.WeedOutBestRank = Util.GetGameObject(this.lockPanel, "WeedOutRoot/BestRank"):GetComponent("Text")
|
||||
this.WeedOutBestRankText = Util.GetGameObject(this.lockPanel, "WeedOutRoot/BestRank/Text"):GetComponent("Text")
|
||||
this.lockContext = Util.GetGameObject(this.lockPanel, "GameObject/OutRoot/context"):GetComponent("Text")
|
||||
this.lockTime = Util.GetGameObject(this.lockPanel, "GameObject/JoinRoot/time"):GetComponent("Text")
|
||||
this.lockTip = Util.GetGameObject(this.lockPanel, "GameObject/JoinRoot/tip"):GetComponent("Text")
|
||||
this.outTip = Util.GetGameObject(this.lockPanel, "GameObject/OutRoot/Text"):GetComponent("Text")
|
||||
this.WeedOutText = Util.GetGameObject(this.lockPanel, "GameObject/WeedOutRoot/Text"):GetComponent("Text")
|
||||
this.WeedOutMyRank = Util.GetGameObject(this.lockPanel, "GameObject/WeedOutRoot/MyRank"):GetComponent("Text")
|
||||
this.WeedOutMyRankText = Util.GetGameObject(this.lockPanel, "GameObject/WeedOutRoot/MyRank/Text"):GetComponent("Text")
|
||||
this.WeedOutBestRank = Util.GetGameObject(this.lockPanel, "GameObject/WeedOutRoot/BestRank"):GetComponent("Text")
|
||||
this.WeedOutBestRankText = Util.GetGameObject(this.lockPanel, "GameObject/WeedOutRoot/BestRank/Text"):GetComponent("Text")
|
||||
|
||||
this.lockIn = Util.GetGameObject(this.lockPanel, "JoinRoot")
|
||||
this.lockOut = Util.GetGameObject(this.lockPanel, "OutRoot")
|
||||
this.WeedOutRoot = Util.GetGameObject(this.lockPanel, "WeedOutRoot")
|
||||
this.lockIn = Util.GetGameObject(this.lockPanel, "GameObject/JoinRoot")
|
||||
this.lockOut = Util.GetGameObject(this.lockPanel, "GameObject/OutRoot")
|
||||
this.WeedOutRoot = Util.GetGameObject(this.lockPanel, "GameObject/WeedOutRoot")
|
||||
|
||||
this.effect = Util.GetGameObject(self.gameObject, "bg/UI_effect_ArenaMainPanel_particle")
|
||||
|
||||
this.orggroup = Util.GetGameObject(this.lockPanel, "orggroup")
|
||||
this.Demons = Util.GetGameObject(this.lockPanel, "Demons")
|
||||
this.orggroup = Util.GetGameObject(self.gameObject, "contain/orggroup")
|
||||
this.Demons = Util.GetGameObject(self.gameObject, "contain/Demons")
|
||||
this.myBaby = {}
|
||||
for i = 1, 6 do
|
||||
this.myBaby[i] = Util.GetGameObject(this.lockPanel,"Demons/heroPro (" .. i .. ")")
|
||||
this.myBaby[i] = Util.GetGameObject(this.Demons,"heroPro (" .. i .. ")")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ local this = ATM_Title
|
|||
--初始化组件(用于子类重写)
|
||||
function ATM_Title:InitComponent(root)
|
||||
-- 标题数据
|
||||
this.gameObject = root.transform
|
||||
this.stagePanel = Util.GetGameObject(root.transform, "ImgName")
|
||||
this.matchName = Util.GetGameObject(this.stagePanel, "name"):GetComponent("Text")
|
||||
this.freshTime = Util.GetGameObject(this.stagePanel, "time"):GetComponent("Text")
|
||||
|
|
@ -53,6 +54,7 @@ end
|
|||
|
||||
-- 0 都不显示 1 都显示 2 只显示name
|
||||
function ATM_Title:SetTitleType(type)
|
||||
|
||||
if type == 0 then
|
||||
this.stagePanel:SetActive(false)
|
||||
this.integralPanel:SetActive(false)
|
||||
|
|
@ -75,9 +77,9 @@ function ATM_Title:SetTitleType(type)
|
|||
this.imgSmall:SetActive(true)
|
||||
this.btnHelp:SetActive(true)
|
||||
end
|
||||
|
||||
-- 刷新显示
|
||||
this.RefreshBaseShow()
|
||||
PlayUIAnim( this.gameObject)
|
||||
end
|
||||
|
||||
-- 刷新基础显示
|
||||
|
|
|
|||
Loading…
Reference in New Issue