add
This commit is contained in:
parent
8ac9c95887
commit
7ef9b7ed83
File diff suppressed because it is too large
Load Diff
471
meng_yao/Assets/Prefabs/ui/DmageItem.prefab
Normal file
471
meng_yao/Assets/Prefabs/ui/DmageItem.prefab
Normal file
@ -0,0 +1,471 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1930973741846788315
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3866972132761758081}
|
||||
- component: {fileID: 3392285686943585546}
|
||||
- component: {fileID: 7782187941529882212}
|
||||
m_Layer: 5
|
||||
m_Name: Dmage
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3866972132761758081
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1930973741846788315}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8573278339221344539}
|
||||
m_RootOrder: 1
|
||||
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: 15.931091, y: 3.6}
|
||||
m_SizeDelta: {x: 168.0929, y: 42.4613}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3392285686943585546
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1930973741846788315}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &7782187941529882212
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1930973741846788315}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 38
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 3
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: 99999
|
||||
--- !u!1 &2743591243070422166
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4121841957530362717}
|
||||
- component: {fileID: 4641535814009175268}
|
||||
- component: {fileID: 5167817597803757393}
|
||||
m_Layer: 5
|
||||
m_Name: icondi
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4121841957530362717
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2743591243070422166}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3787769209397549307}
|
||||
- {fileID: 6524300370260168638}
|
||||
m_Father: {fileID: 8573278339221344539}
|
||||
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: -316, y: 0}
|
||||
m_SizeDelta: {x: 164, y: 166}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4641535814009175268
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2743591243070422166}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5167817597803757393
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2743591243070422166}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 0a041f993c65b6d43b7ed43f7c773fab, 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
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &4194483275821619473
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1043230985066083136}
|
||||
- component: {fileID: 5973645632618662809}
|
||||
- component: {fileID: 4263914719571789766}
|
||||
m_Layer: 5
|
||||
m_Name: Kill
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1043230985066083136
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4194483275821619473}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8573278339221344539}
|
||||
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: 347.6, y: 3.6}
|
||||
m_SizeDelta: {x: 89.3859, y: 42.4613}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5973645632618662809
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4194483275821619473}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &4263914719571789766
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4194483275821619473}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 38
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 3
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: 95
|
||||
--- !u!1 &8251590444011774158
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8573278339221344539}
|
||||
- component: {fileID: 7123290611484625119}
|
||||
- component: {fileID: 6422762282971084090}
|
||||
m_Layer: 5
|
||||
m_Name: DmageItem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8573278339221344539
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8251590444011774158}
|
||||
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_ConstrainProportionsScale: 1
|
||||
m_Children:
|
||||
- {fileID: 4121841957530362717}
|
||||
- {fileID: 3866972132761758081}
|
||||
- {fileID: 1043230985066083136}
|
||||
m_Father: {fileID: 0}
|
||||
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_SizeDelta: {x: 854.83, y: 188.6848}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7123290611484625119
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8251590444011774158}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &6422762282971084090
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8251590444011774158}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 1f9f0be56836a1b4eb1aaaa52e1f26f0, 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
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &8660398156988911240
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3787769209397549307}
|
||||
- component: {fileID: 8330038411725937072}
|
||||
- component: {fileID: 6855841455067681645}
|
||||
m_Layer: 5
|
||||
m_Name: mengyaoicon
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3787769209397549307
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8660398156988911240}
|
||||
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_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4121841957530362717}
|
||||
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.0000067949, y: 2.5271}
|
||||
m_SizeDelta: {x: 115.6269, y: 115.3429}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8330038411725937072
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8660398156988911240}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &6855841455067681645
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8660398156988911240}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: e8c34c5a5f0545c43bc809f69fde02bf, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &8858789203445951005
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6524300370260168638}
|
||||
- component: {fileID: 7363384507808024360}
|
||||
- component: {fileID: 7007684780852387015}
|
||||
m_Layer: 5
|
||||
m_Name: mengyaoicon2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &6524300370260168638
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8858789203445951005}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 2.2, y: 2.2, z: 2.2}
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4121841957530362717}
|
||||
m_RootOrder: 1
|
||||
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.0000067949, y: 2.5271}
|
||||
m_SizeDelta: {x: 115.6269, y: 115.3429}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7363384507808024360
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8858789203445951005}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &7007684780852387015
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8858789203445951005}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: e8c34c5a5f0545c43bc809f69fde02bf, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
7
meng_yao/Assets/Prefabs/ui/DmageItem.prefab.meta
Normal file
7
meng_yao/Assets/Prefabs/ui/DmageItem.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d1c8dc246033b974398ad23b259bb7f2
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,81 +1,5 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &3068602580807446661
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3068602580807446662}
|
||||
- component: {fileID: 3068602580807446656}
|
||||
- component: {fileID: 3068602580807446663}
|
||||
m_Layer: 5
|
||||
m_Name: Image
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3068602580807446662
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602580807446661}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3068602581906232506}
|
||||
m_RootOrder: 1
|
||||
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: -160, y: 1}
|
||||
m_SizeDelta: {x: 48.0002, y: 61.334}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3068602580807446656
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602580807446661}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3068602580807446663
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602580807446661}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 0.04944943, b: 0, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 25b48d23815d787459348452908b18ae, 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
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &3068602580809488483
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -156,86 +80,6 @@ MonoBehaviour:
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u654C\u4EBA\u5373\u5C06\u5230\u6765!"
|
||||
--- !u!1 &3068602580958641806
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3068602580958641807}
|
||||
- component: {fileID: 3068602580958641801}
|
||||
- component: {fileID: 3068602580958641800}
|
||||
m_Layer: 5
|
||||
m_Name: Text (Legacy)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3068602580958641807
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602580958641806}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3068602581906232506}
|
||||
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: 10.4108, y: 0}
|
||||
m_SizeDelta: {x: 399.1785, y: 60}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3068602580958641801
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602580958641806}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3068602580958641800
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602580958641806}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 28
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 2
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\t\t\u706B\u5143\u7D20*15"
|
||||
--- !u!1 &3068602581546727690
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -271,7 +115,6 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 3068602581867276436}
|
||||
- {fileID: 3068602582450951776}
|
||||
- {fileID: 3068602581906232506}
|
||||
- {fileID: 3068602582137985609}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
@ -429,65 +272,6 @@ MonoBehaviour:
|
||||
m_FlexibleWidth: -1
|
||||
m_FlexibleHeight: -1
|
||||
m_LayoutPriority: 1
|
||||
--- !u!1 &3068602581906232505
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3068602581906232506}
|
||||
- component: {fileID: 3068602581906232507}
|
||||
m_Layer: 5
|
||||
m_Name: infp1 (2)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3068602581906232506
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602581906232505}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3068602580958641807}
|
||||
- {fileID: 3068602580807446662}
|
||||
m_Father: {fileID: 3068602581546727691}
|
||||
m_RootOrder: 2
|
||||
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_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &3068602581906232507
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3068602581906232505}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreLayout: 0
|
||||
m_MinWidth: -1
|
||||
m_MinHeight: 60
|
||||
m_PreferredWidth: -1
|
||||
m_PreferredHeight: -1
|
||||
m_FlexibleWidth: -1
|
||||
m_FlexibleHeight: -1
|
||||
m_LayoutPriority: 1
|
||||
--- !u!1 &3068602581925976632
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -567,7 +351,7 @@ MonoBehaviour:
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\t\t\u8D22\u72FC\u4EBA*20"
|
||||
m_Text: "\t\tEnemy_001*20"
|
||||
--- !u!1 &3068602582137985608
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -599,7 +383,7 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 3068602582278294422}
|
||||
m_Father: {fileID: 3068602581546727691}
|
||||
m_RootOrder: 3
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
|
@ -140,6 +140,21 @@ MonoBehaviour:
|
||||
_panel: {fileID: 8513957311761855226}
|
||||
closeBtn: {fileID: 103310189314411445}
|
||||
_closePanel: {fileID: 103310189314411435}
|
||||
LeveText: {fileID: 8513957310652944590}
|
||||
NameText: {fileID: 8513957310103447990}
|
||||
InfoText: {fileID: 8513957310695274728}
|
||||
AttackText: {fileID: 0}
|
||||
AttackFanweiText: {fileID: 0}
|
||||
AttackCD: {fileID: 0}
|
||||
textList:
|
||||
- {fileID: 8513957310652944590}
|
||||
- {fileID: 8513957310103447990}
|
||||
- {fileID: 8513957310959755597}
|
||||
- {fileID: 8513957310869191658}
|
||||
- {fileID: 8513957310457029732}
|
||||
- {fileID: 8513957310695274728}
|
||||
- {fileID: 8513957311707228769}
|
||||
HpImage: {fileID: 8513957310128994721}
|
||||
--- !u!1001 &103310189366456482
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -235,6 +250,10 @@ PrefabInstance:
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312308241371625, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: fyl
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312308648191948, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
@ -259,6 +278,30 @@ PrefabInstance:
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312308748293312, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: kouxue
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312308951097454, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: levelText
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312309042759860, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: info
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312309175257930, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: speed
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312309508344067, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_FillAmount
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312309534185750, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: nameText
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8595312309677904346, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
@ -285,6 +328,94 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
--- !u!114 &8513957310103447990 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312309534185748, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957310128994721 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312309508344067, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957310457029732 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312308748293318, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957310652944590 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312308951097452, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957310695274728 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312309042759754, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957310869191658 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312309175257928, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957310959755597 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312308241371631, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8513957311707228769 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312307934567107, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
m_PrefabInstance: {fileID: 103310189366456482}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &8513957311761855226 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 8595312307980599896, guid: 38f909461e53c37408c09f5cef30eb35, type: 3}
|
||||
|
@ -2471,8 +2471,8 @@ MonoBehaviour:
|
||||
- {fileID: 7273037110982156962}
|
||||
- {fileID: 6557249533962720523}
|
||||
- {fileID: 839905863465866250}
|
||||
scaleDownDuration: 0.2
|
||||
scaleUpDuration: 0.2
|
||||
scaleDownDuration: 0.4
|
||||
scaleUpDuration: 0.4
|
||||
tiaoScene: {fileID: 8646173536183414967}
|
||||
--- !u!1 &8646173536251712116
|
||||
GameObject:
|
||||
|
@ -1602,6 +1602,90 @@ SpriteRenderer:
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &548070627
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 548070628}
|
||||
- component: {fileID: 548070629}
|
||||
m_Layer: 0
|
||||
m_Name: GameObject
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &548070628
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 548070627}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0.184, z: 0}
|
||||
m_LocalScale: {x: 0.5337, y: 0.5337, z: 0.5337}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 995271151}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &548070629
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 548070627}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 5f21706d4e5594b42aed6eabfe769278, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 3.2, y: 3.2}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &549752618
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2877,7 +2961,8 @@ Transform:
|
||||
m_LocalPosition: {x: 4.63, y: -4.127, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Children:
|
||||
- {fileID: 548070628}
|
||||
m_Father: {fileID: 284432670}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@ -2897,10 +2982,10 @@ BoxCollider2D:
|
||||
m_Offset: {x: 0.020069838, y: -0.072454154}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0, y: 0}
|
||||
oldSize: {x: 0, y: 0}
|
||||
newSize: {x: 0, y: 0}
|
||||
adaptiveTilingThreshold: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
oldSize: {x: 3.2, y: 3.2}
|
||||
newSize: {x: 3.2, y: 3.2}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
@ -3358,6 +3443,7 @@ MonoBehaviour:
|
||||
parentPos: {fileID: 1136445683}
|
||||
scaleUpDuration: 0.5
|
||||
fadeInDuration: 0.5
|
||||
card: []
|
||||
--- !u!114 &1136445688
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -5489,7 +5575,7 @@ MonoBehaviour:
|
||||
GenerationInterval: 15
|
||||
GenerationIntervalOfOne: 3
|
||||
GenerateQuantityMax: 1
|
||||
GenerateQuantity: 20
|
||||
GenerateQuantity: 5
|
||||
deadNumber: 0
|
||||
--- !u!1 &1932457212
|
||||
GameObject:
|
||||
|
BIN
meng_yao/Assets/Scenes/New/loong_1.png
Normal file
BIN
meng_yao/Assets/Scenes/New/loong_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
123
meng_yao/Assets/Scenes/New/loong_1.png.meta
Normal file
123
meng_yao/Assets/Scenes/New/loong_1.png.meta
Normal file
@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f21706d4e5594b42aed6eabfe769278
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,5 +1,6 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
@ -13,12 +14,42 @@ public class Challeng_Evictory : charainfoPanel
|
||||
|
||||
public Sprite gaoliangsprite;
|
||||
public Sprite anSprite;
|
||||
|
||||
public GameObject DmageitemPrefab;
|
||||
public GameObject DmageContent;
|
||||
|
||||
|
||||
private List<enemy> enemylist =new List<enemy>();
|
||||
// Start is called before the first frame update
|
||||
public override void Start()
|
||||
{
|
||||
base.Start();
|
||||
AwardBtn.onClick.AddListener(AwardClick);
|
||||
DmageBtn.onClick.AddListener(DmageClick);
|
||||
|
||||
Debug.Log(cardBox.instance.card[0].name);
|
||||
Debug.Log(cardBox.instance.card[0].GetComponent<enemy>());
|
||||
var sortedObjects = cardBox.instance.card.OrderByDescending(go => go.GetComponent<enemy>().harmNumber).ToList();
|
||||
Debug.Log(sortedObjects);
|
||||
// 遍历排序后的结果并输出每个GameObject的名字和伤害值
|
||||
for (int i = 0; i < sortedObjects.Count; i++)
|
||||
{
|
||||
GameObject obj = Instantiate(DmageitemPrefab, DmageContent.transform);
|
||||
obj.transform.Find("Dmage").GetComponent<Text>().text = sortedObjects[i].GetComponent<enemy>().harmNumber.ToString();
|
||||
|
||||
if (sortedObjects[i].GetComponent<enemy>().enemyId == "1")
|
||||
{
|
||||
obj.transform.Find("icondi/mengyaoicon").GetComponent<Image>().sprite = sortedObjects[i].GetComponent<enemy>().AnimationTree[0].value[0];
|
||||
Destroy(obj.transform.Find("icondi/mengyaoicon2").gameObject);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
obj.transform.Find("icondi/mengyaoicon2").GetComponent<Image>().sprite = sortedObjects[i].GetComponent<enemy>().AnimationTree[0].value[0];
|
||||
Destroy(obj.transform.Find("icondi/mengyaoicon").gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void AwardClick()
|
||||
@ -35,5 +66,10 @@ public class Challeng_Evictory : charainfoPanel
|
||||
DmageCountobj.gameObject.SetActive(true);
|
||||
AwardBtn.GetComponent<Image>().sprite = anSprite;
|
||||
DmageBtn.GetComponent<Image>().sprite = gaoliangsprite;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -9,9 +9,10 @@ public class CharacterClick : MonoBehaviour
|
||||
public Character MyCharacter=null;
|
||||
[Header("点击出现的详情")] public GameObject panelPrefab;
|
||||
|
||||
public WaveData MyWaveData=null;
|
||||
void Start()
|
||||
{
|
||||
IdForInfo(transform.GetComponent<enemy>().Id);
|
||||
IdForInfo(transform.GetComponent<enemy>().enemyId);
|
||||
}
|
||||
|
||||
private void OnMouseDown()
|
||||
@ -33,7 +34,16 @@ public class CharacterClick : MonoBehaviour
|
||||
RectTransform panelRect = instantiatedPanel.GetComponent<RectTransform>();
|
||||
// 确保生成的面板不会挡住父物体
|
||||
panelRect.SetAsLastSibling(); // 将面板放到 Canvas 层级的最上层
|
||||
panelRect.GetComponent<charainfoPanel>().UpDateShow("1", MyCharacter.Name, MyCharacter.Info, MyCharacter.MaxAttack+"~"+MyCharacter.MinAttack,MyCharacter.AttackRange,MyCharacter.AttackCD);
|
||||
if (role.camp==Camp.Enemy)
|
||||
{
|
||||
//string eveText,string name,string def,string speed,string shanghai,string info,int hp,int maxHp
|
||||
panelRect.GetComponent<charainfoPanel>().UpDateShow("1", "Enemy_002","0","3","1","²âÊÔÎĵµÒ»",role.hp,100f);
|
||||
}
|
||||
else
|
||||
{
|
||||
panelRect.GetComponent<charainfoPanel>().UpDateShow("1", MyCharacter.Name, MyCharacter.Info, MyCharacter.MaxAttack + "~" + MyCharacter.MinAttack, MyCharacter.AttackRange, MyCharacter.AttackCD);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ public class cardBox : MonoBehaviour
|
||||
// ID到萌妖卡预制体的映射字典
|
||||
private Dictionary<string, GameObject> IDTomangyaoPrefab = new Dictionary<string, GameObject>();
|
||||
|
||||
[HideInInspector] public List<GameObject> card = new List<GameObject>();
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
@ -126,7 +127,8 @@ public class cardBox : MonoBehaviour
|
||||
{
|
||||
// 实例化预制体,设置父节点为 parentPos
|
||||
GameObject card = Instantiate(prefab, parentPos);
|
||||
|
||||
//card.GetComponent<enemy>().enemyId = id;
|
||||
//this.card.Add(card);
|
||||
// 确保卡牌的缩放为0,准备进行放大动画
|
||||
card.transform.localScale = Vector3.zero;
|
||||
|
||||
|
@ -45,7 +45,8 @@ public class cardContorl : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndD
|
||||
{
|
||||
|
||||
mY = Instantiate(mengyaoPrefab);
|
||||
mY.GetComponent<enemy>().Id = transform.GetComponent<CardInfo>().mengyaoid;
|
||||
cardBox.instance.card.Add(mY);
|
||||
mY.GetComponent<enemy>().enemyId = transform.GetComponent<CardInfo>().mengyaoid;
|
||||
Vector3 mousePosition = Input.mousePosition;
|
||||
|
||||
// 将鼠标屏幕坐标转换为世界坐标
|
||||
|
@ -14,6 +14,7 @@ public class charainfoPanel : Base
|
||||
[Header("¹Ø±Õ°´Å¥")] public Button closeBtn;
|
||||
[Header("¹Ø±ÕµÄÃæ°å")] public GameObject _closePanel;
|
||||
|
||||
[Header("ÃÈÑý")]
|
||||
public Text LeveText;
|
||||
public Text NameText;
|
||||
public Text InfoText;
|
||||
@ -21,6 +22,8 @@ public class charainfoPanel : Base
|
||||
public Text AttackFanweiText;
|
||||
public Text AttackCD;
|
||||
|
||||
[Header(("µÐÈË"))] public List<Text> textList = new List<Text>();
|
||||
public Image HpImage;
|
||||
public virtual void Start()
|
||||
{
|
||||
|
||||
@ -42,11 +45,23 @@ public class charainfoPanel : Base
|
||||
|
||||
public void UpDateShow(string LeveText, string NameText, string InfoText, string AttackText, string AttackFanweiText,string AttackCD)
|
||||
{
|
||||
this.LeveText.text= LeveText;
|
||||
this.LeveText.text= "Lv."+LeveText;
|
||||
this.NameText.text= NameText;
|
||||
this.InfoText.text= InfoText;
|
||||
this.AttackText.text = AttackText;
|
||||
this.AttackFanweiText.text= AttackFanweiText;
|
||||
this.AttackCD.text= AttackCD;
|
||||
this.AttackCD.text= "<color=#00FF00>"+ AttackCD+"</color>";
|
||||
}
|
||||
|
||||
public void UpDateShow(string eveText,string name,string def,string speed,string shanghai,string info,float hp,float maxHp)
|
||||
{
|
||||
textList[0].text = "lv." + eveText;
|
||||
textList[1].text = name;
|
||||
textList[2].text = def;
|
||||
textList[3].text = speed;
|
||||
textList[4].text = shanghai;
|
||||
textList[5].text = info;
|
||||
textList[6].text = hp+"/"+maxHp;
|
||||
HpImage.fillAmount = hp/ maxHp;
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,23 @@ using UnityEngine;
|
||||
|
||||
public class enemy : Role
|
||||
{
|
||||
public string Id;
|
||||
public string enemyId;
|
||||
|
||||
[HideInInspector]
|
||||
public float harmNumber=0;//伤害
|
||||
|
||||
public float HarmNumber
|
||||
{
|
||||
get=> harmNumber;
|
||||
set
|
||||
{
|
||||
harmNumber=value;
|
||||
//Debug.Log(Id+"造成了"+ value+ "伤害");
|
||||
Debug.Log(enemyId+"总伤害"+ harmNumber );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public override void Start()
|
||||
{
|
||||
base.Start();
|
||||
@ -14,6 +30,8 @@ public class enemy : Role
|
||||
//开始移动
|
||||
Init(InitEnenyData.instance.GetRandomWaypoints());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void Init(waypoints _waypoints)
|
||||
|
Loading…
Reference in New Issue
Block a user