TCX_LongZhu
DESKTOP-MMO982B\User 2025-02-26 15:53:36 +08:00
parent 52c40592db
commit 240d75c93a
5 changed files with 532 additions and 179 deletions

View File

@ -51594,9 +51594,9 @@ RectTransform:
m_Father: {fileID: 3952385394978222417}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 151.985, y: -81}
m_SizeDelta: {x: 303.97, y: 162}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1473222624206509369
@ -162217,7 +162217,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &2790268029142068141
RectTransform:
m_ObjectHideFlags: 0
@ -162231,13 +162231,14 @@ RectTransform:
m_Children:
- {fileID: 2611536262651775028}
- {fileID: 1134556428462287921}
- {fileID: 3152562788231440122}
m_Father: {fileID: 3952385394978222417}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 50, y: -237}
m_SizeDelta: {x: 100, y: 150}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 136.8, y: -229.2}
m_SizeDelta: {x: 125, y: 125}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8884007560803558536
CanvasRenderer:
@ -162260,14 +162261,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 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: 2295da998432ab24cbd3b71c012b8cb5, type: 3}
m_Sprite: {fileID: 21300000, guid: 32a218cbd3fbd78409473484ce7ab8ee, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -178582,7 +178583,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6905700726618290839}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 1297475563, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
@ -188365,7 +188366,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: 10, y: -13}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 127, y: 126}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8592369776156723504
@ -188396,7 +188397,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 2295da998432ab24cbd3b71c012b8cb5, type: 3}
m_Sprite: {fileID: 21300000, guid: 6e3aa1270de772944af758e2233045b8, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -201719,6 +201720,101 @@ ParticleSystemRenderer:
m_Mesh2: {fileID: 0}
m_Mesh3: {fileID: 0}
m_MaskInteraction: 0
--- !u!1 &8811996555147446150
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3152562788231440122}
- component: {fileID: 739647706033282258}
- component: {fileID: 6005609252396075244}
- component: {fileID: 7064119609540160496}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3152562788231440122
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8811996555147446150}
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: 2790268029142068141}
m_RootOrder: 2
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: -50}
m_SizeDelta: {x: 160, y: 40}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &739647706033282258
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8811996555147446150}
m_CullTransparentMesh: 0
--- !u!114 &6005609252396075244
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8811996555147446150}
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: 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_FontData:
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
m_FontSize: 28
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u82F1\u96C4\u5854"
--- !u!114 &7064119609540160496
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8811996555147446150}
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 &8844423337370813080
GameObject:
m_ObjectHideFlags: 0

View File

@ -198,7 +198,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &3444241010723116190
RectTransform:
m_ObjectHideFlags: 0
@ -695,7 +695,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 400, y: -865}
m_SizeDelta: {x: 100, y: 100}
m_SizeDelta: {x: 85, y: 68}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7028044886640631913
CanvasRenderer:
@ -725,7 +725,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 6c1c5c71aad7a2d458935e2bbe95a907, type: 3}
m_Sprite: {fileID: 21300000, guid: 5f68b176859934247a198d31fae15278, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
@ -1495,15 +1495,15 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.94509804, g: 0.972549, b: 0.6039216, a: 1}
m_Color: {r: 0.990566, g: 0.990566, b: 0.990566, 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: 0fdf510ded5226d429ec9c5f349259a8, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: 5ce4cf7c6a156d64ca117ce0caf6a53b, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -1620,7 +1620,7 @@ MonoBehaviour:
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
m_FontSize: 40
m_FontStyle: 3
m_BestFit: 0
@ -1758,7 +1758,7 @@ MonoBehaviour:
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
m_FontSize: 40
m_FontStyle: 0
m_BestFit: 0
@ -1831,15 +1831,15 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.8235294, g: 0.96862745, b: 1, a: 1}
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: 0fdf510ded5226d429ec9c5f349259a8, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: 8938c410d98136f4e9b081060e0025fd, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -2043,8 +2043,8 @@ 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: 0, y: 430}
m_SizeDelta: {x: 600, y: 600}
m_AnchoredPosition: {x: 0, y: 355}
m_SizeDelta: {x: 400, y: 400}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7120526165396976308
CanvasRenderer:
@ -2074,7 +2074,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: c3b8d857453a5714b88f2c8fa39cf802, type: 3}
m_Sprite: {fileID: 21300000, guid: d9cff7306de35ea43ba10c0dc9a3f097, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -2431,7 +2431,7 @@ MonoBehaviour:
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
m_FontSize: 40
m_FontStyle: 0
m_BestFit: 0
@ -2477,10 +2477,10 @@ RectTransform:
m_Father: {fileID: 4761155576880652146}
m_RootOrder: 7
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: -480, y: -871}
m_SizeDelta: {x: 120, y: 120}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 49.600006, y: 102}
m_SizeDelta: {x: 99, y: 179}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8768976178202110595
CanvasRenderer:
@ -2510,7 +2510,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 2887ec8dbdcb57242a540f77f7cb5a72, type: 3}
m_Sprite: {fileID: 21300000, guid: 0efe29bd0476d5d4e8c274f2030570ec, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1

View File

@ -558,8 +558,8 @@ function this:BattleLogic(curPos)
if arr then
for i = 1, #arr do
local anim =arr[i]
anim.anim.AnimationState:SetAnimation(0,"attack",true)
local arrow = Util.GetGameObject(anim.enemy,"attackArr")
anim.anim.AnimationState:SetAnimation(0,"atk",true)
local arrow = Util.GetGameObject(anim.enemy,"atk2")
arrow:SetActive(true)
this.SetArrowRot(arrow)
local pos = UIManager.GetLocalPositionToTarget(anim.enemy,this.playerObj)
@ -602,10 +602,10 @@ function this:BattleLogic(curPos)
func()
end,1)
if enemy.anim then
this.playerAnim.AnimationState:SetAnimation(0, "attack", true)
enemy.anim.AnimationState:SetAnimation(0,"attack",true)
this.playerAnim.AnimationState:SetAnimation(0, "atk", true)
enemy.anim.AnimationState:SetAnimation(0,"atk",true)
if enemy.type == 2 and enemy.enemyType ==3 then
local arrow = Util.GetGameObject(enemy.enemy,"attackArr")
local arrow = Util.GetGameObject(enemy.enemy,"atk2")
arrow:SetActive(true)
this.SetArrowRot(arrow)
local pos = UIManager.GetLocalPositionToTarget(enemy.enemy,this.playerObj)

View File

@ -8,12 +8,12 @@ local levelList = {}
local chapterId = 0
local chapterData = {}
local allMissionDailyBoxItemPres = {}
local mainLevleBg = {[1] = "s_shanhe_xiaoditu_dabiao",[2] = "s_shanhe_xiaoditu_dabiao_01"}
local LevleTitleBg = {[1] = "xiaoyouxi_gk_dc_bj_001",[2] = "xiaoyouxi_gk_dc_bj_002"}
local mainLevleBg = {[1] = "adventure_icon-xianshi",[2] = "adventure_icon-yunmie"}
local LevleTitleBg = {[1] = "m-button-3-3",[2] = "m-button-3-2"}
local point = {[1] = "s_shanhe_xiaoditu_xiabao",[2] = "s_shanhe_xiaoditu_xiabao_01"}
local assistantLevleDiBg = {[1] = "s_shanhe_xiaoditu_zhongbiao",[2] = "s_shanhe_xiaoditu_zhongbiao_01"}
local assistantLevleBattle = {[1] = "s_shanhe_xiaoditu_jian",[2] = "s_shanhe_xiaoditu_jian_01",[3] = "r_jyxz_qizhi_gou"}
local assistantLevleReward = {[1] = "baoxiang-01-1",[2] = "s_shanhe_xiaoditu_baoxiang_01",[3] = "baoxiang-01-2"}
local assistantLevleDiBg = {[1] = "commander_taizi",[2] = "commander_taizi"}
local assistantLevleBattle = {[1] = "battle_bulearrow",[2] = "battle_bulearrow",[3] = "ghoulroad_finished"}
local assistantLevleReward = {[1] = "X1_yiwang_jiangli_jin",[2] = "X1_yiwang_jiangli_lan",[3] = "X1_yiwang_jiangli_jin_open"}
local mainPointList = nil
local allSmallPoint = nil