显示挂机关卡层数
parent
4b3313875b
commit
74ed832ac6
|
|
@ -41653,6 +41653,101 @@ MonoBehaviour:
|
|||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
--- !u!1 &476315711164623722
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8473399423757764058}
|
||||
- component: {fileID: 2511648751803066609}
|
||||
- component: {fileID: 5397308994391781756}
|
||||
- component: {fileID: 5964812662078848714}
|
||||
m_Layer: 5
|
||||
m_Name: floorTxt
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8473399423757764058
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 476315711164623722}
|
||||
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_Children: []
|
||||
m_Father: {fileID: 6461990839478086415}
|
||||
m_RootOrder: 8
|
||||
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: -222, y: 816}
|
||||
m_SizeDelta: {x: 160, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2511648751803066609
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 476315711164623722}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &5397308994391781756
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 476315711164623722}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.990566, g: 0.9485137, b: 0.9485137, 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_FontData:
|
||||
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
|
||||
m_FontSize: 30
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 3
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 5
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 1
|
||||
m_VerticalOverflow: 1
|
||||
m_LineSpacing: 1
|
||||
m_Text: New Text
|
||||
--- !u!114 &5964812662078848714
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 476315711164623722}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -900027084, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_EffectDistance: {x: 1, y: -1}
|
||||
m_UseGraphicAlpha: 1
|
||||
--- !u!1 &500509831816827098
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -146781,6 +146876,7 @@ RectTransform:
|
|||
- {fileID: 3273070043154839095}
|
||||
- {fileID: 4594492938401723161}
|
||||
- {fileID: 6471780584234647524}
|
||||
- {fileID: 8473399423757764058}
|
||||
m_Father: {fileID: 3223588515252977199}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ function FightPointPassMainPanel:InitComponent()
|
|||
this.soliderPre=Util.GetGameObject(self.gameObject, "battlePanel/soliderPre")
|
||||
this.timeTxt=Util.GetGameObject(self.gameObject, "battlePanel/timeTxt"):GetComponent("Text")
|
||||
this.hpTxt=Util.GetGameObject(self.gameObject, "battlePanel/hpTxt"):GetComponent("Text")
|
||||
|
||||
this.floorTxt=Util.GetGameObject(self.gameObject, "battlePanel/floorTxt"):GetComponent("Text")
|
||||
this.bossObj=Util.GetGameObject(self.gameObject, "battlePanel/bossObj")
|
||||
this.bossImg=Util.GetGameObject(self.gameObject, "battlePanel/bossObj/icon"):GetComponent("Image")
|
||||
this.bossNum=Util.GetGameObject(self.gameObject, "battlePanel/bossObj/num"):GetComponent("Text")
|
||||
|
|
@ -560,7 +560,7 @@ function this.BattleLogic()
|
|||
this.battleTimer = nil
|
||||
end
|
||||
local cd=0
|
||||
|
||||
this.floorTxt.text=string.format("第%s层",FightPointPassManager.soldierLayerId)
|
||||
local isHit=false
|
||||
--如果切回这个界面还在打这个boss
|
||||
local bossInfo=SmallSoldierManager.bossInfo
|
||||
|
|
@ -665,6 +665,7 @@ function this.BattleLogic()
|
|||
if msg.result==1 then
|
||||
if curSoliderStageConfig.NextId~=0 then
|
||||
FightPointPassManager.soldierLayerId=curSoliderStageConfig.NextId
|
||||
this.floorTxt.text=string.format("第%s层",FightPointPassManager.soldierLayerId)
|
||||
end
|
||||
curSoliderStageConfig=ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,FightPointPassManager.soldierLayerId)
|
||||
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig,curSoliderStageConfig.Hero)
|
||||
|
|
|
|||
Loading…
Reference in New Issue