【建木神树】
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 656 KiB After Width: | Height: | Size: 656 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 203 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 610 KiB After Width: | Height: | Size: 610 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
Before Width: | Height: | Size: 802 KiB After Width: | Height: | Size: 802 KiB |
|
@ -80,7 +80,7 @@ TextureImporter:
|
|||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: ScaredTreeAtlas
|
||||
spritePackingTag: SacredTreeAtlas
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
|
@ -471,6 +471,7 @@ PanelType = {
|
|||
Celebration = {14,16,50003},--社稷大典
|
||||
YiJingBaoKu = {14,16,1004},--易经宝库
|
||||
LingShouBaoGe = {14,16,1204},--灵兽宝阁
|
||||
SacredTree = {14,16},--建木神树
|
||||
}
|
||||
|
||||
|
||||
|
@ -1299,7 +1300,7 @@ FUNCTION_OPEN_TYPE = {
|
|||
POKEMON=79,--灵兽山
|
||||
XiaoYaoYou = 80, -- 逍遥游
|
||||
RoleAwake = 81, -- 神将觉醒
|
||||
SCAREDTREE = 88,--建木神树
|
||||
SACREDTREE = 88,--建木神树
|
||||
}
|
||||
|
||||
TaskGetBtnIconDef = {
|
||||
|
@ -1493,6 +1494,7 @@ HELP_TYPE = {
|
|||
PokemonResolve=75,--灵兽放生
|
||||
YiJingBaoKu=77,--易经宝库
|
||||
LingShouBaoGe=78,--灵兽宝阁
|
||||
SacredTree=82,--建木神树
|
||||
}
|
||||
|
||||
NumToComplexFont = {
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 16f164319f51f1b41b5af4fd28638181
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,51 @@
|
|||
require("Base/BasePanel")
|
||||
SacredTreePanel = Inherit(BasePanel)
|
||||
|
||||
function SacredTreePanel:InitComponent()
|
||||
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft })
|
||||
self.backBtn = Util.GetGameObject(self.transform, "backBtn")
|
||||
self.helpBtn = Util.GetGameObject(self.transform, "helpBtn")
|
||||
self.helpPos = self.helpBtn:GetComponent("RectTransform").localPosition
|
||||
self.attriBtn = Util.GetGameObject(self.transform, "attriBtn")
|
||||
self.upgradeBtn = Util.GetGameObject(self.transform, "upgradeBtn")
|
||||
end
|
||||
|
||||
function SacredTreePanel:BindEvent()
|
||||
Util.AddClick(self.backBtn, function()
|
||||
self:ClosePanel()
|
||||
end)
|
||||
Util.AddClick(self.helpBtn, function()
|
||||
UIManager.OpenPanel(UIName.HelpPopup,HELP_TYPE.SacredTree,self.helpPos.x,self.helpPos.y)
|
||||
end)
|
||||
Util.AddClick(self.attriBtn, function()
|
||||
LogPink("打开神应属性")
|
||||
end)
|
||||
Util.AddClick(self.upgradeBtn, function()
|
||||
LogGreen("升级")
|
||||
end)
|
||||
end
|
||||
|
||||
--添加事件监听(用于子类重写)
|
||||
function SacredTreePanel:AddListener()
|
||||
|
||||
end
|
||||
|
||||
--移除事件监听(用于子类重写)
|
||||
function SacredTreePanel:RemoveListener()
|
||||
|
||||
end
|
||||
|
||||
function SacredTreePanel:OnOpen()
|
||||
-- body
|
||||
end
|
||||
function SacredTreePanel:OnShow()
|
||||
self.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.SacredTree })
|
||||
end
|
||||
function SacredTreePanel:OnClose()
|
||||
-- body
|
||||
end
|
||||
function SacredTreePanel:OnDestroy()
|
||||
SubUIManager.Close(self.UpView)
|
||||
end
|
||||
|
||||
return SacredTreePanel
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e087d291a739d7a42bb69614e6657440
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|