[灵兽]战中施法特效提交
parent
d942fa6f67
commit
b50f468e33
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: de916f6aab438ee4e811cad74ed73a7d
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9c72861411653334d98f12e4dbdf4ded
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a9cdd47204940864cbaef93fd0841ce1
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -43538,6 +43538,121 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &369711103
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 369711104}
|
||||
- component: {fileID: 369711108}
|
||||
- component: {fileID: 369711107}
|
||||
- component: {fileID: 369711106}
|
||||
- component: {fileID: 369711105}
|
||||
m_Layer: 5
|
||||
m_Name: LingshouCastDown
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &369711104
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 369711103}
|
||||
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:
|
||||
- {fileID: 2781097022139180250}
|
||||
m_Father: {fileID: -4381370023651553062}
|
||||
m_RootOrder: 21
|
||||
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: 0}
|
||||
m_SizeDelta: {x: 2000, y: 3000}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!223 &369711108
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 369711103}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 2
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 1
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &369711107
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 369711103}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!222 &369711106
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 369711103}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &369711105
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 369711103}
|
||||
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: 0.05660379, g: 0.00080099556, b: 0.00080099556, a: 0.4}
|
||||
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: 0}
|
||||
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 &403534828
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -43937,6 +44052,121 @@ MeshRenderer:
|
|||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
--- !u!1 &601964299
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 601964300}
|
||||
- component: {fileID: 601964304}
|
||||
- component: {fileID: 601964303}
|
||||
- component: {fileID: 601964302}
|
||||
- component: {fileID: 601964301}
|
||||
m_Layer: 5
|
||||
m_Name: LingshouCastUp
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &601964300
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 601964299}
|
||||
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:
|
||||
- {fileID: 4451514803276425241}
|
||||
m_Father: {fileID: -4381370023651553062}
|
||||
m_RootOrder: 20
|
||||
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: 0}
|
||||
m_SizeDelta: {x: 2000, y: 3000}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!223 &601964304
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 601964299}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 2
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 1
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &601964303
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 601964299}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!222 &601964302
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 601964299}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &601964301
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 601964299}
|
||||
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: 0.03773582, g: 0.0008899956, b: 0.0008899956, a: 0.4}
|
||||
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: 0}
|
||||
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 &606874068
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -56938,6 +57168,8 @@ RectTransform:
|
|||
- {fileID: 8858676476271352685}
|
||||
- {fileID: 144762891}
|
||||
- {fileID: -73532625236690106}
|
||||
- {fileID: 601964300}
|
||||
- {fileID: 369711104}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
@ -120640,6 +120872,271 @@ MonoBehaviour:
|
|||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
--- !u!1001 &611863740
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 369711104}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2781097021677299815, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: EFFECT_Casting_LingShou_Xia
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 9c72861411653334d98f12e4dbdf4ded, type: 3}
|
||||
--- !u!224 &2781097022139180250 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 2781097021677299814, guid: 9c72861411653334d98f12e4dbdf4ded,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 611863740}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &878616547
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 601964300}
|
||||
m_Modifications:
|
||||
- target: {fileID: 4451514803079460859, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: EFFECT_Casting_LingShou_Shang
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514801996031140, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514801996031140, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4451514801996031140, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: de916f6aab438ee4e811cad74ed73a7d, type: 3}
|
||||
--- !u!224 &4451514803276425241 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 4451514803079460858, guid: de916f6aab438ee4e811cad74ed73a7d,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 878616547}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &1073867481245933236
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -120762,12 +121259,7 @@ PrefabInstance:
|
|||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -120792,7 +121284,12 @@ PrefabInstance:
|
|||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -120927,12 +121424,7 @@ PrefabInstance:
|
|||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -120957,7 +121449,12 @@ PrefabInstance:
|
|||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121237,12 +121734,7 @@ PrefabInstance:
|
|||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121267,7 +121759,12 @@ PrefabInstance:
|
|||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121402,12 +121899,7 @@ PrefabInstance:
|
|||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121432,7 +121924,12 @@ PrefabInstance:
|
|||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121567,12 +122064,7 @@ PrefabInstance:
|
|||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121597,7 +122089,12 @@ PrefabInstance:
|
|||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121732,12 +122229,7 @@ PrefabInstance:
|
|||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
@ -121762,7 +122254,12 @@ PrefabInstance:
|
|||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031819195525549, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
- target: {fileID: 2320031818352649172, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2320031818794305969, guid: e356d5948e4971f499cfe38db3551f59,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 3.2600002
|
||||
|
|
|
|||
|
|
@ -233,13 +233,13 @@ function this.MonsterSkillAdapter(MSkillId)
|
|||
return skill
|
||||
end
|
||||
|
||||
function this.PokemonUnitAdapter(pokemonUnit)
|
||||
function this.PokemonUnitAdapter(pokemonUnit,camp)
|
||||
-- 基础数据
|
||||
local role = {
|
||||
id = tonumber(pokemonUnit.unitId),
|
||||
position = tonumber(pokemonUnit.position),
|
||||
star = tonumber(pokemonUnit.star),
|
||||
camp = 0,
|
||||
camp = camp,
|
||||
skill = {},
|
||||
property = {},
|
||||
}
|
||||
|
|
@ -329,7 +329,7 @@ function this.GetBattleServerData(msg, isFightPlayer)
|
|||
-- 灵兽数据
|
||||
fightData.playerData.monsterList ={}
|
||||
for i = 1, #data.pokemonUnitList do
|
||||
fightData.playerData.monsterList[i] = this.PokemonUnitAdapter(data.pokemonUnitList[i])
|
||||
fightData.playerData.monsterList[i] = this.PokemonUnitAdapter(data.pokemonUnitList[i],0)
|
||||
end
|
||||
|
||||
|
||||
|
|
@ -418,7 +418,7 @@ function this.GetBattleServerData(msg, isFightPlayer)
|
|||
-- 灵兽数据
|
||||
fightData.enemyData[i].monsterList ={}
|
||||
for k = 1, #data2.pokemonUnitList do
|
||||
fightData.enemyData[i].monsterList[k] = this.PokemonUnitAdapter(data2.pokemonUnitList[k])
|
||||
fightData.enemyData[i].monsterList[k] = this.PokemonUnitAdapter(data2.pokemonUnitList[k],1)
|
||||
end
|
||||
end
|
||||
local data = {
|
||||
|
|
|
|||
|
|
@ -129,11 +129,18 @@ function this:InitComponent(root, go)
|
|||
this.skillEffectRoot = Util.GetGameObject(this.gameObject, "skillEffectRoot")
|
||||
|
||||
this.Cache = Util.GetGameObject(this.gameObject, "cache")
|
||||
|
||||
--人物角色costing
|
||||
this.enemySkillCast = Util.GetGameObject(this.transform, "EnemySkillCast")
|
||||
this.enemySkillCastRoot = Util.GetGameObject(this.transform, "EnemySkillCast/TongYong_Casting_Shang/DongHua/RENWU")
|
||||
|
||||
this.mySkillCast = Util.GetGameObject(this.transform, "mySkillCast")
|
||||
this.mySkillCastRoot = Util.GetGameObject(this.transform, "mySkillCast/TongYong_Casting_Xia/DongHua/RENWU")
|
||||
--灵兽casting
|
||||
this.lingshouCastUp = Util.GetGameObject(this.transform, "LingshouCastUp")
|
||||
this.lingshouCastUpRoot = Util.GetGameObject(this.transform, "LingshouCastUp/EFFECT_Casting_LingShou_Shang/DongHua/RENWU")
|
||||
|
||||
this.lingshouCastDown = Util.GetGameObject(this.transform, "LingshouCastDown")
|
||||
this.lingshouCastDownRoot = Util.GetGameObject(this.transform, "LingshouCastDown/EFFECT_Casting_LingShou_Xia/DongHua/RENWU")
|
||||
this.enemyMonster=Util.GetGameObject(this.transform, "enemyMonster")
|
||||
this.playerMonster=Util.GetGameObject(this.transform, "playerMonster")
|
||||
this.ElementalResonanceView = SubUIManager.Open(SubUIConfig.ElementalResonanceView, self.gameObject.transform)
|
||||
|
|
@ -171,13 +178,19 @@ function this:OnSortingOrderChange(battleSorting)
|
|||
|
||||
this.enemyMonster:GetComponent("Canvas").sortingOrder = battleSorting+200
|
||||
this.playerMonster:GetComponent("Canvas").sortingOrder = battleSorting+200
|
||||
this.lingshouCastUp:GetComponent("Canvas").sortingOrder = skillSorting
|
||||
this.lingshouCastDown:GetComponent("Canvas").sortingOrder = skillSorting
|
||||
if not self.oSortingOrder then
|
||||
self.oSortingOrder = skillSorting
|
||||
Util.AddParticleSortLayer(self.mySkillCast, skillSorting)
|
||||
Util.AddParticleSortLayer(self.enemySkillCast, skillSorting)
|
||||
Util.AddParticleSortLayer(self.lingshouCastUp,skillSorting)
|
||||
Util.AddParticleSortLayer(self.lingshouCastDown,skillSorting)
|
||||
else
|
||||
Util.AddParticleSortLayer(self.mySkillCast, skillSorting - self.oSortingOrder)
|
||||
Util.AddParticleSortLayer(self.enemySkillCast, skillSorting - self.oSortingOrder)
|
||||
Util.AddParticleSortLayer(self.lingshouCastUp,skillSorting- self.oSortingOrder)
|
||||
Util.AddParticleSortLayer(self.lingshouCastDown,skillSorting- self.oSortingOrder)
|
||||
end
|
||||
|
||||
for _, v in pairs(tbRole) do
|
||||
|
|
@ -206,7 +219,8 @@ function this:Init()
|
|||
this.skillEffectRoot:GetComponent("Canvas").sortingOrder = battleSorting + 40
|
||||
this.mySkillCast:GetComponent("Canvas").sortingOrder = battleSorting + 300
|
||||
this.enemySkillCast:GetComponent("Canvas").sortingOrder = battleSorting + 300
|
||||
|
||||
this.lingshouCastUp:GetComponent("Canvas").sortingOrder = battleSorting+300
|
||||
this.lingshouCastDown:GetComponent("Canvas").sortingOrder = battleSorting+300
|
||||
|
||||
-- 异妖显示
|
||||
this.DiffMonster:SetActive(false)
|
||||
|
|
@ -652,10 +666,12 @@ function this.SetRoleHighLight(caster, targets, func)
|
|||
max = max + 1
|
||||
role:SetHighLight(false, 0.95, 0.2, _Count)
|
||||
end
|
||||
if caster then
|
||||
LogPink("max1 = "..max)
|
||||
if caster and caster.role.type == BattleUnitType.Role then
|
||||
max = max - 1
|
||||
caster:SetHighLight(true, 1.5, 0.2)
|
||||
end
|
||||
LogPink("max2 = "..max)
|
||||
if targets then
|
||||
for _, data in ipairs(targets) do
|
||||
if caster ~= tbRole[data] then
|
||||
|
|
@ -664,6 +680,7 @@ function this.SetRoleHighLight(caster, targets, func)
|
|||
end
|
||||
end
|
||||
end
|
||||
LogPink("max3 = "..max)
|
||||
if max == 0 then
|
||||
if func then func() end
|
||||
end
|
||||
|
|
@ -872,7 +889,8 @@ function this:OnClose()
|
|||
|
||||
this.mySkillCast:SetActive(false)
|
||||
this.enemySkillCast:SetActive(false)
|
||||
|
||||
this.lingshouCastUp:SetActive(false)
|
||||
this.lingshouCastDown:SetActive(false)
|
||||
--
|
||||
BattleManager.StopBattle()
|
||||
|
||||
|
|
|
|||
|
|
@ -20,11 +20,10 @@ function MonsterView:onCreate(go, role, position, root)
|
|||
self.GameObject = go
|
||||
self.role = role
|
||||
self.camp = role.camp
|
||||
|
||||
-- 创建技能播放器
|
||||
self.castingEfectNode = role.camp == 0 and self.RootPanel.mySkillCast or self.RootPanel.enemySkillCast
|
||||
self.castingNameNode = Util.GetGameObject(self.castingEfectNode, role.camp == 0 and "TongYong_Casting_Xia/DongHua/MingZi" or "TongYong_Casting_Shang/DongHua/MingZi")
|
||||
self.skillCastRoot = role.camp == 0 and self.RootPanel.mySkillCastRoot or self.RootPanel.enemySkillCastRoot
|
||||
self.castingEfectNode = role.camp == 0 and self.RootPanel.lingshouCastDown or self.RootPanel.lingshouCastUp
|
||||
self.castingNameNode = Util.GetGameObject(self.castingEfectNode, role.camp == 0 and "EFFECT_Casting_LingShou_Xia/DongHua/MingZi" or "EFFECT_Casting_LingShou_Shang/DongHua/MingZi")
|
||||
self.skillCastRoot = role.camp == 0 and self.RootPanel.lingshouCastDownRoot or self.RootPanel.lingshouCastUpRoot
|
||||
self.liveRoot = role.camp == 0 and Util.GetGameObject(self.RootPanel.gameObject, "playerMonster/live") or Util.GetGameObject(self.RootPanel.gameObject, "enemyMonster/live")
|
||||
self.icon = Util.GetGameObject(go, "icon"):GetComponent("Image")
|
||||
|
||||
|
|
@ -39,22 +38,26 @@ function MonsterView:onCreate(go, role, position, root)
|
|||
self.attackSound = SpiritAnimal[role.roleData.id].sond
|
||||
|
||||
self.icon.sprite = Util.LoadSprite(GetResourcePath(SpiritAnimal[role.roleData.id].Icon))
|
||||
-- 人物立绘
|
||||
self.RoleLiveGO = poolManager:LoadLive(self.livePath, go.transform.parent, Vector3.one, Vector3.zero)
|
||||
self.RoleLiveGO.transform:SetParent(self.liveRoot.transform)
|
||||
self.RoleLiveGO:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2])-- * 0.5
|
||||
self.RoleLiveGO.transform.localScale = Vector3.one * self.enemy_liveScale --* 0.75
|
||||
self.RoleLiveGO:SetActive(false)
|
||||
self.RoleLiveGOGraphic = self.RoleLiveGO:GetComponent("SkeletonGraphic")
|
||||
self.RoleLiveGOTran = self.RoleLiveGO:GetComponent("RectTransform")
|
||||
self.RoleLiveGOGraphic.AnimationState:SetAnimation(0, "idle", true)
|
||||
self.RoleLiveGOTran.sizeDelta = Vector2.New(1000, 1000)
|
||||
-- 人物立绘
|
||||
-- self.RoleLiveGO = poolManager:LoadLive(self.livePath, self.skillCastRoot.transform.parent, Vector3.one, Vector3.zero)
|
||||
-- self.RoleLiveGO.transform:SetParent(self.liveRoot.transform)
|
||||
-- self.RoleLiveGO:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2])-- * 0.5
|
||||
-- self.RoleLiveGO.transform.localScale = Vector3.one * self.enemy_liveScale --* 0.75
|
||||
-- self.RoleLiveGO:SetActive(false)
|
||||
-- self.RoleLiveGOGraphic = self.RoleLiveGO:GetComponent("SkeletonGraphic")
|
||||
-- self.RoleLiveGOTran = self.RoleLiveGO:GetComponent("RectTransform")
|
||||
-- self.RoleLiveGOGraphic.AnimationState:SetAnimation(0, "idle", true)
|
||||
-- self.RoleLiveGOTran.sizeDelta = Vector2.New(1000, 1000)
|
||||
|
||||
|
||||
-- casting技能立绘
|
||||
self.RoleLiveGO2 = poolManager:LoadLive(self.livePath, go.transform.parent, Vector3.one, Vector3.zero)
|
||||
self.RoleLiveGO2.transform:SetParent(self.skillCastRoot.transform)
|
||||
self.RoleLiveGO2 = poolManager:LoadLive(self.livePath, self.skillCastRoot.gameObject.transform.parent, Vector3.one, Vector3.zero)
|
||||
self.RoleLiveGO2.transform:SetParent(self.skillCastRoot.gameObject.transform)
|
||||
|
||||
self.RoleLiveGO2:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2])
|
||||
if self.camp==1 then
|
||||
self.RoleLiveGO2.transform.rotation=Vector3.New(0,180,0)
|
||||
end
|
||||
self.RoleLiveGO2.transform.localScale = Vector3.one * self.enemy_liveScale --* 2
|
||||
self.RoleLiveGO2:SetActive(false)
|
||||
self.RoleLiveGOGraphic2 = self.RoleLiveGO2:GetComponent("SkeletonGraphic")
|
||||
|
|
@ -116,7 +119,7 @@ function MonsterView:PlaySpineAnim(gog, time, name, isLoop)
|
|||
local _complete = nil
|
||||
_complete = function(state)
|
||||
gog.AnimationState.Complete = gog.AnimationState.Complete - _complete
|
||||
gog.AnimationState:SetAnimation(0, "idle", true)
|
||||
gog.AnimationState:SetAnimation(0, "attack", true)
|
||||
end
|
||||
gog.AnimationState:ClearTracks() -- 清除上一个动画的影响(修复概率攻击动画播放错误的问题)
|
||||
gog.AnimationState:SetAnimation(time, name, isLoop)
|
||||
|
|
@ -126,21 +129,21 @@ end
|
|||
|
||||
--
|
||||
function MonsterView:OnSkillCastStart()
|
||||
self.RoleLiveGO:SetActive(true)
|
||||
-- self.RoleLiveGO:SetActive(true)
|
||||
end
|
||||
--
|
||||
function MonsterView:OnSkillPlay()
|
||||
self:PlaySpineAnim(self.RoleLiveGOGraphic, 0, "attack", false)
|
||||
--self:PlaySpineAnim(self.RoleLiveGOGraphic, 0, "attack", false)
|
||||
end
|
||||
--
|
||||
function MonsterView:OnSkillEnd()
|
||||
self.RoleLiveGO:SetActive(false)
|
||||
-- self.RoleLiveGO:SetActive(false)
|
||||
end
|
||||
|
||||
function MonsterView:OnSkillCastingStart()
|
||||
-- 提前进入下一阶段
|
||||
self.RoleLiveGO2:SetActive(true)
|
||||
-- self:PlaySpineAnim(self.RoleLiveGOGraphic2, 0, "touch", false)
|
||||
self:PlaySpineAnim(self.RoleLiveGOGraphic2, 0, "attack", false)
|
||||
end
|
||||
|
||||
|
||||
|
|
@ -160,7 +163,7 @@ function MonsterView:onDispose()
|
|||
Util.SetColor(self.RoleLiveGOGraphic2, Color.New(1, 1, 1, 1))
|
||||
self.RoleLiveGOGraphic.freeze = false
|
||||
self.RoleLiveGOGraphic2.freeze = false
|
||||
poolManager:UnLoadLive(self.livePath, self.RoleLiveGO)
|
||||
-- poolManager:UnLoadLive(self.livePath, self.RoleLiveGO)
|
||||
poolManager:UnLoadLive(self.livePath, self.RoleLiveGO2)
|
||||
-- 回收本节点
|
||||
BattlePool.RecycleItem(self.GameObject, BATTLE_POOL_TYPE.ENEMY_ROLE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue