【优化】轩辕宝境界面优化

dev_chengFeng
ZhangBiao 2021-11-11 14:59:15 +08:00
parent 0769659e72
commit c37386fada
3 changed files with 89 additions and 13 deletions

View File

@ -29417,6 +29417,81 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &3003175890636348891
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5079487216724770517}
- component: {fileID: 6381495182951933313}
- component: {fileID: 4780278568646986318}
m_Layer: 5
m_Name: tips
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5079487216724770517
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3003175890636348891}
m_LocalRotation: {x: 0.0003645682, y: 0.017011939, z: -0.02142212, w: 0.9996258}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1.0125, y: 1, z: 1}
m_Children:
- {fileID: 8058424431263567449}
m_Father: {fileID: 3460517663753271504}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0.08400001, y: 1.9480001, z: -2.4540002}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 42, y: 146}
m_SizeDelta: {x: 600, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6381495182951933313
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3003175890636348891}
m_CullTransparentMesh: 0
--- !u!114 &4780278568646986318
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3003175890636348891}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: a53c2e2ae3539624f875064614af67c9, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &3030424547301511535
GameObject:
m_ObjectHideFlags: 0
@ -41804,7 +41879,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &8058424431263567449
RectTransform:
m_ObjectHideFlags: 0
@ -41812,16 +41887,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5203907596944178455}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalRotation: {x: -0.0003645682, y: -0.017011939, z: 0.02142212, w: 0.9996258}
m_LocalPosition: {x: 0, y: 0, z: -0.4168604}
m_LocalScale: {x: 0.9876912, y: 0.99997735, z: 0.99998575}
m_Children: []
m_Father: {fileID: 3460517663753271504}
m_RootOrder: 6
m_Father: {fileID: 5079487216724770517}
m_RootOrder: 0
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: 138.09}
m_AnchoredPosition: {x: -41.118496, y: -9.702057}
m_SizeDelta: {x: 600, y: 73.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6735249265126055928
@ -58972,7 +59047,7 @@ RectTransform:
- {fileID: 6181894268526856646}
- {fileID: 2849262556332886968}
- {fileID: 1902571392055290900}
- {fileID: 8058424431263567449}
- {fileID: 5079487216724770517}
m_Father: {fileID: 224946850722905528}
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View File

@ -156,8 +156,9 @@ function this:InitComponent()
-- 上阵等级提示
this.formTip = Util.GetGameObject(self.transform, "formTip")
-- 上阵元素提示
this.tip = Util.GetGameObject(self.transform, "bottom/tip")
this.tip.gameObject:SetActive(false)
this.tips = Util.GetGameObject(self.transform, "bottom/tips")
this.tip = Util.GetGameObject(self.transform, "bottom/tips/tip")
this.tips.gameObject:SetActive(false)
this.mopUpGo.transform:SetParent(self.gameObject.transform)
this.mopUpGo:SetActive(false)
@ -265,7 +266,7 @@ function this:OnOpen(_panelType,...)
this.eliteTip:SetActive(false)
this.failText:SetActive(false)
this.formTip:SetActive(false)
this.tip:SetActive(false)
this.tips:SetActive(false)
this.empty:SetActive(false)
this.opView = require(this.PanelOptionView[_panelType])

View File

@ -25,7 +25,7 @@ function this.InitView()
this.root.btn_2:SetActive(true)
this.root.btn_1_lab.text = Language[10710]
this.root.btn_2_lab.text = Language[10707]
this.root.tip:SetActive(true)
this.root.tips:SetActive(true)
this.root.exampleBtn:SetActive(false)
this.root.UpView:OnOpen({showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main})
end
@ -141,7 +141,7 @@ end
--- 关闭界面事件
function this.OnCloseBtnClick()
this.root.tip:SetActive(false)
this.root.tips:SetActive(false)
this.root:ClosePanel()
end