实现魔法镜子的效果
This commit is contained in:
parent
246ade615b
commit
ec5cdb7191
Binary file not shown.
Binary file not shown.
@ -117,6 +117,8 @@ GameObject:
|
|||||||
- component: {fileID: 408162191361817328}
|
- component: {fileID: 408162191361817328}
|
||||||
- component: {fileID: 8293433607233734630}
|
- component: {fileID: 8293433607233734630}
|
||||||
- component: {fileID: 730077425366261762}
|
- component: {fileID: 730077425366261762}
|
||||||
|
- component: {fileID: 4681804198542703900}
|
||||||
|
- component: {fileID: 10479568791611539}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: NLYW
|
m_Name: NLYW
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -124,22 +126,26 @@ GameObject:
|
|||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!4 &408162191361817328
|
--- !u!224 &408162191361817328
|
||||||
Transform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1750256311473565841}
|
m_GameObject: {fileID: 1750256311473565841}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 20, y: 20, z: 20}
|
m_LocalScale: {x: 20, y: 20, z: 20}
|
||||||
m_ConstrainProportionsScale: 1
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 1496534327327087712}
|
- {fileID: 1496534327327087712}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 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, y: 0}
|
||||||
|
m_SizeDelta: {x: 100, y: 100}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!198 &8293433607233734630
|
--- !u!198 &8293433607233734630
|
||||||
ParticleSystem:
|
ParticleSystem:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -4937,6 +4943,55 @@ ParticleSystemRenderer:
|
|||||||
m_MeshWeighting2: 1
|
m_MeshWeighting2: 1
|
||||||
m_MeshWeighting3: 1
|
m_MeshWeighting3: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
|
--- !u!222 &4681804198542703900
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1750256311473565841}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &10479568791611539
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1750256311473565841}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 16f0b0b6d0b7542bfbd20a3e05b04ff1, 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_IsTrail: 0
|
||||||
|
m_IgnoreCanvasScaler: 0
|
||||||
|
m_AbsoluteMode: 0
|
||||||
|
m_Scale3D: {x: 10, y: 10, z: 10}
|
||||||
|
m_AnimatableProperties: []
|
||||||
|
m_Particles:
|
||||||
|
- {fileID: 8293433607233734630}
|
||||||
|
- {fileID: 618476516617180217}
|
||||||
|
- {fileID: 313938172913647565}
|
||||||
|
- {fileID: 8337498789154020727}
|
||||||
|
- {fileID: 4508233408733684597}
|
||||||
|
- {fileID: 6578875716163538959}
|
||||||
|
m_MeshSharing: 0
|
||||||
|
m_GroupId: 0
|
||||||
|
m_GroupMaxId: 0
|
||||||
|
m_PositionMode: 0
|
||||||
|
m_AutoScaling: 0
|
||||||
|
m_AutoScalingMode: 2
|
||||||
|
m_UseCustomView: 0
|
||||||
|
m_CustomViewSize: 10
|
||||||
|
m_TimeScaleMultiplier: 1
|
||||||
--- !u!1 &2689931785972257889
|
--- !u!1 &2689931785972257889
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -9701,7 +9756,7 @@ ParticleSystemRenderer:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 2689931785972257889}
|
m_GameObject: {fileID: 2689931785972257889}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_CastShadows: 0
|
m_CastShadows: 0
|
||||||
m_ReceiveShadows: 0
|
m_ReceiveShadows: 0
|
||||||
m_DynamicOccludee: 1
|
m_DynamicOccludee: 1
|
||||||
@ -14531,7 +14586,7 @@ ParticleSystemRenderer:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 3520276651173693055}
|
m_GameObject: {fileID: 3520276651173693055}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_CastShadows: 0
|
m_CastShadows: 0
|
||||||
m_ReceiveShadows: 0
|
m_ReceiveShadows: 0
|
||||||
m_DynamicOccludee: 1
|
m_DynamicOccludee: 1
|
||||||
@ -19419,7 +19474,7 @@ ParticleSystemRenderer:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 6793441352436540295}
|
m_GameObject: {fileID: 6793441352436540295}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_CastShadows: 0
|
m_CastShadows: 0
|
||||||
m_ReceiveShadows: 0
|
m_ReceiveShadows: 0
|
||||||
m_DynamicOccludee: 1
|
m_DynamicOccludee: 1
|
||||||
@ -24250,7 +24305,7 @@ ParticleSystemRenderer:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 7454584084841072142}
|
m_GameObject: {fileID: 7454584084841072142}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_CastShadows: 0
|
m_CastShadows: 0
|
||||||
m_ReceiveShadows: 0
|
m_ReceiveShadows: 0
|
||||||
m_DynamicOccludee: 1
|
m_DynamicOccludee: 1
|
||||||
|
File diff suppressed because one or more lines are too long
@ -816,10 +816,10 @@ RectTransform:
|
|||||||
- {fileID: 3547666515304448482}
|
- {fileID: 3547666515304448482}
|
||||||
m_Father: {fileID: 7323484200357829197}
|
m_Father: {fileID: 7323484200357829197}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 0}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 91.5, y: -21.5}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 31, y: 31}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &5164661564043509363
|
--- !u!222 &5164661564043509363
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -1872,7 +1872,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &1950349943801813264
|
--- !u!224 &1950349943801813264
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -2422,8 +2422,8 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 132.3058, y: -12.5233}
|
m_AnchoredPosition: {x: 197.86311, y: -12.5233}
|
||||||
m_SizeDelta: {x: 104.891, y: 38.5293}
|
m_SizeDelta: {x: 306.6057, y: 38.5293}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &2935469788889109837
|
--- !u!222 &2935469788889109837
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -115,7 +115,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 107, y: -91}
|
m_AnchoredPosition: {x: -421, y: -79}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &7810983908619713087
|
--- !u!222 &7810983908619713087
|
||||||
@ -200,6 +200,85 @@ MonoBehaviour:
|
|||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
|
--- !u!1 &437958499921092810
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6861501087177315203}
|
||||||
|
- component: {fileID: 1595433158699090623}
|
||||||
|
- component: {fileID: 2816095961798304305}
|
||||||
|
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 &6861501087177315203
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 437958499921092810}
|
||||||
|
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: 7960964849541629287}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1595433158699090623
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 437958499921092810}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &2816095961798304305
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 437958499921092810}
|
||||||
|
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: 14
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u8D60\u9001\u793C\u72698"
|
||||||
--- !u!1 &492127551322420092
|
--- !u!1 &492127551322420092
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -321,6 +400,127 @@ MonoBehaviour:
|
|||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
|
--- !u!1 &773989544353370744
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7960964849541629287}
|
||||||
|
- component: {fileID: 7065787271315614077}
|
||||||
|
- component: {fileID: 8883902593945723812}
|
||||||
|
- component: {fileID: 871348478941086637}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: m_btn_SendGift8
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7960964849541629287
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 773989544353370744}
|
||||||
|
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: 6861501087177315203}
|
||||||
|
m_Father: {fileID: 3589350923236502549}
|
||||||
|
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: -61, y: -79}
|
||||||
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &7065787271315614077
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 773989544353370744}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8883902593945723812
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 773989544353370744}
|
||||||
|
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: 0.7838983, g: 1, b: 0.6666667, 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: 10905, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Type: 1
|
||||||
|
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!114 &871348478941086637
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 773989544353370744}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 8883902593945723812}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
--- !u!1 &990385126679853586
|
--- !u!1 &990385126679853586
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -515,7 +715,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -256, y: -91}
|
m_AnchoredPosition: {x: 117.18, y: -24.949}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &9083428567683313109
|
--- !u!222 &9083428567683313109
|
||||||
@ -873,7 +1073,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 104, y: -40}
|
m_AnchoredPosition: {x: -61, y: -20}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &5354092341571425919
|
--- !u!222 &5354092341571425919
|
||||||
@ -1755,7 +1955,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -76, y: -40}
|
m_AnchoredPosition: {x: -241, y: -20}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &4554694178838688397
|
--- !u!222 &4554694178838688397
|
||||||
@ -1840,6 +2040,127 @@ MonoBehaviour:
|
|||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
|
--- !u!1 &2970031087580138631
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8197620294860182702}
|
||||||
|
- component: {fileID: 4238741646525504056}
|
||||||
|
- component: {fileID: 4036112556752952502}
|
||||||
|
- component: {fileID: 5798886442797467411}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: m_btn_SendGift9
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8197620294860182702
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2970031087580138631}
|
||||||
|
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: 4081719521495735135}
|
||||||
|
m_Father: {fileID: 3589350923236502549}
|
||||||
|
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: 120.26999, y: -79}
|
||||||
|
m_SizeDelta: {x: 166.18, y: 30}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &4238741646525504056
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2970031087580138631}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4036112556752952502
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2970031087580138631}
|
||||||
|
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: 0.7838983, g: 1, b: 0.6666667, 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: 10905, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Type: 1
|
||||||
|
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!114 &5798886442797467411
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2970031087580138631}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 4036112556752952502}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
--- !u!1 &2975427301154425416
|
--- !u!1 &2975427301154425416
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -2034,7 +2355,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -77, y: -91}
|
m_AnchoredPosition: {x: 302, y: -24.949}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &3421215217899163350
|
--- !u!222 &3421215217899163350
|
||||||
@ -2235,6 +2556,85 @@ RectTransform:
|
|||||||
m_AnchoredPosition: {x: 49, y: 47.1911}
|
m_AnchoredPosition: {x: 49, y: 47.1911}
|
||||||
m_SizeDelta: {x: 296.3522, y: 114.2802}
|
m_SizeDelta: {x: 296.3522, y: 114.2802}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!1 &3690176174184125039
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8221469638450018354}
|
||||||
|
- component: {fileID: 3589807312666782532}
|
||||||
|
- component: {fileID: 363756087322710976}
|
||||||
|
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 &8221469638450018354
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3690176174184125039}
|
||||||
|
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: 2061907162640007379}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &3589807312666782532
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3690176174184125039}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &363756087322710976
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3690176174184125039}
|
||||||
|
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: 14
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u8D60\u9001\u793C\u72697"
|
||||||
--- !u!1 &3787398473645480383
|
--- !u!1 &3787398473645480383
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -2276,6 +2676,9 @@ RectTransform:
|
|||||||
- {fileID: 4181762992409862742}
|
- {fileID: 4181762992409862742}
|
||||||
- {fileID: 361342836149569889}
|
- {fileID: 361342836149569889}
|
||||||
- {fileID: 3389741329502577520}
|
- {fileID: 3389741329502577520}
|
||||||
|
- {fileID: 2061907162640007379}
|
||||||
|
- {fileID: 7960964849541629287}
|
||||||
|
- {fileID: 8197620294860182702}
|
||||||
m_Father: {fileID: 2338385386102721414}
|
m_Father: {fileID: 2338385386102721414}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0}
|
m_AnchorMin: {x: 0.5, y: 0}
|
||||||
@ -2319,7 +2722,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -256, y: -40}
|
m_AnchoredPosition: {x: -421, y: -20}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &6158124813356784663
|
--- !u!222 &6158124813356784663
|
||||||
@ -2999,6 +3402,85 @@ MonoBehaviour:
|
|||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: Enter text...
|
m_Text: Enter text...
|
||||||
|
--- !u!1 &5931358705521076417
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4081719521495735135}
|
||||||
|
- component: {fileID: 3917074072750804791}
|
||||||
|
- component: {fileID: 608721799218651698}
|
||||||
|
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 &4081719521495735135
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5931358705521076417}
|
||||||
|
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: 8197620294860182702}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &3917074072750804791
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5931358705521076417}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &608721799218651698
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5931358705521076417}
|
||||||
|
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: 14
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u8D60\u9001\u793C\u72699"
|
||||||
--- !u!1 &6120009932890685474
|
--- !u!1 &6120009932890685474
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -3120,6 +3602,127 @@ MonoBehaviour:
|
|||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
|
--- !u!1 &6227204430787146108
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2061907162640007379}
|
||||||
|
- component: {fileID: 6471808054285214965}
|
||||||
|
- component: {fileID: 1452566283268209752}
|
||||||
|
- component: {fileID: 8375089800413462706}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: m_btn_SendGift7
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2061907162640007379
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6227204430787146108}
|
||||||
|
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: 8221469638450018354}
|
||||||
|
m_Father: {fileID: 3589350923236502549}
|
||||||
|
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: -241, y: -79}
|
||||||
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6471808054285214965
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6227204430787146108}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &1452566283268209752
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6227204430787146108}
|
||||||
|
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: 0.7838983, g: 1, b: 0.6666667, 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: 10905, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Type: 1
|
||||||
|
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!114 &8375089800413462706
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6227204430787146108}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 1452566283268209752}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
--- !u!1 &6927531391757848709
|
--- !u!1 &6927531391757848709
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Coffee.UIExtensions;
|
||||||
|
using GameConfig.giftConfig;
|
||||||
using TEngine;
|
using TEngine;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
@ -145,22 +147,37 @@ namespace GameLogic
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="buff"></param>
|
/// <param name="buff"></param>
|
||||||
/// <param name="unitPlayerData"></param>
|
/// <param name="unitPlayerData"></param>
|
||||||
public void AddBuff(Buff buff, UnitPlayerData unitPlayerData)
|
public void AddBuff(Buff buff, UnitPlayerData unitPlayerData, GiftConfig giftConfig)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Log.Debug("获得Buff " + buff.m_Id);
|
||||||
|
// 确认Buff效果,生成指定Buff特效.
|
||||||
|
if (buff.m_Id == 5)
|
||||||
|
{
|
||||||
|
// 龙卷风特效特殊处理
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (buff.m_Id == 7)
|
||||||
|
{
|
||||||
|
// 全屏特效特殊处理
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var eGo = GameModule.Resource.LoadGameObject(giftConfig.EffectName);
|
||||||
|
eGo.transform.SetParent(m_rectCar.transform);
|
||||||
|
eGo.transform.localPosition = Vector3.zero;
|
||||||
|
eGo.transform.localScale = Vector3.one;
|
||||||
|
eGo.transform.GetComponent<UIParticle>().scale = 35F;
|
||||||
|
|
||||||
|
Log.Debug("生成Buff特效:" + giftConfig.EffectName);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (m_Buffs.ContainsKey(unitPlayerData.protCustMessageData.openId))
|
if (m_Buffs.ContainsKey(unitPlayerData.protCustMessageData.openId))
|
||||||
{
|
{
|
||||||
// // 存在相同BuffId,目前设计是增加时常?
|
|
||||||
// foreach (var item in m_Buffs[unitPlayerData.protCustMessageData.openId])
|
|
||||||
// {
|
|
||||||
// // 相同类型
|
|
||||||
// if (item.m_Id == buff.m_Id)
|
|
||||||
// {
|
|
||||||
// // 增加时常
|
|
||||||
// item.m_AllTimer += buff.m_AllTimer;
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// 累加设计
|
// 累加设计
|
||||||
// 没有该Buff,则新增这个Buff
|
// 没有该Buff,则新增这个Buff
|
||||||
m_Buffs[unitPlayerData.protCustMessageData.openId].Add(buff);
|
m_Buffs[unitPlayerData.protCustMessageData.openId].Add(buff);
|
||||||
@ -238,7 +255,8 @@ namespace GameLogic
|
|||||||
/// <param name="key"></param>
|
/// <param name="key"></param>
|
||||||
private void LoadTextureMatRes(int key)
|
private void LoadTextureMatRes(int key)
|
||||||
{
|
{
|
||||||
m_ImgSprite.material = GameModule.Resource.LoadAsset<Material>("0" + key);
|
//m_ImgSprite.material = GameModule.Resource.LoadAsset<Material>("0" + key);
|
||||||
|
m_rectCar.transform.GetChild(key).gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
"GUID:d8b63aba1907145bea998dd612889d6b",
|
"GUID:d8b63aba1907145bea998dd612889d6b",
|
||||||
"GUID:9e04c6f1d83f64c85a18cbf2fcccc31c",
|
"GUID:9e04c6f1d83f64c85a18cbf2fcccc31c",
|
||||||
"GUID:f06555f75b070af458a003d92f9efb00",
|
"GUID:f06555f75b070af458a003d92f9efb00",
|
||||||
"GUID:e34a5702dd353724aa315fb8011f08c3"
|
"GUID:e34a5702dd353724aa315fb8011f08c3",
|
||||||
|
"GUID:7793e5cd8d2e94e21b56de41db6606bb"
|
||||||
],
|
],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
|
@ -199,7 +199,7 @@ namespace GameLogic
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.Debug("送礼:" + data.teamId);
|
//Log.Debug("送礼:" + data.teamId);
|
||||||
|
|
||||||
//优化写法
|
//优化写法
|
||||||
DataGameSceneManager.Instance.OnGiftFunc(giftConfig, int.Parse(protCustMessageData.Count), data);
|
DataGameSceneManager.Instance.OnGiftFunc(giftConfig, int.Parse(protCustMessageData.Count), data);
|
||||||
|
@ -183,7 +183,7 @@ namespace GameLogic
|
|||||||
|
|
||||||
//unitPlayerData.m_Score = playRankRootData.weekScore;
|
//unitPlayerData.m_Score = playRankRootData.weekScore;
|
||||||
//unitPlayerData.m_AllWinCount = playRankRootData.winCount;
|
//unitPlayerData.m_AllWinCount = playRankRootData.winCount;
|
||||||
Log.Debug("玩家:{0} 胜点:{1}", unitPlayerData.protCustMessageData.nickName, unitPlayerData.m_AllWinCount);
|
//Log.Debug("玩家:{0} 胜点:{1}", unitPlayerData.protCustMessageData.nickName, unitPlayerData.m_AllWinCount);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -320,33 +320,33 @@ namespace GameLogic
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 这里看看要不要怎么改
|
//// 这里看看要不要怎么改
|
||||||
Buff buff = new Buff();
|
//Buff buff = new Buff();
|
||||||
buff.OnInit(giftConfig.Id, giftConfig.AddPower * num, giftConfig.TimerLen, giftConfig.AddGiftScore, num);
|
//buff.OnInit(giftConfig.Id, giftConfig.AddPower * num, giftConfig.TimerLen, giftConfig.AddGiftScore, num);
|
||||||
|
|
||||||
// 减速Buff的处理
|
//// 减速Buff的处理
|
||||||
if (buff.addPower < 0)
|
//if (buff.addPower < 0)
|
||||||
{
|
//{
|
||||||
// 特殊针对Id来处理效果吧.
|
// // 特殊针对Id来处理效果吧.
|
||||||
if (buff.m_Id == 5)
|
// if (buff.m_Id == 5)
|
||||||
{
|
// {
|
||||||
// 龙卷风效果
|
// // 龙卷风效果
|
||||||
// 随机挑取十个目标,除开自己
|
// // 随机挑取十个目标,除开自己
|
||||||
NlywGiftFunc();
|
// NlywGiftFunc();
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
else
|
//else
|
||||||
{
|
//{
|
||||||
var actor = GetTeamActor(unitPlayerData.teamId);
|
// var actor = GetTeamActor(unitPlayerData.teamId);
|
||||||
if (actor != null)
|
// if (actor != null)
|
||||||
{
|
// {
|
||||||
actor.AddBuff(buff, unitPlayerData);
|
// actor.AddBuff(buff, unitPlayerData);
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
Log.Error("没有找到自己对应的阵营:{0}", unitPlayerData.teamId);
|
// Log.Error("没有找到自己对应的阵营:{0}", unitPlayerData.teamId);
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
// if (giftConfig.Id != 1)
|
// if (giftConfig.Id != 1)
|
||||||
// {
|
// {
|
||||||
@ -354,6 +354,39 @@ namespace GameLogic
|
|||||||
// GameEvent.Send(EventConts.AddGiftMessage, unitPlayerData, giftConfig, num);
|
// GameEvent.Send(EventConts.AddGiftMessage, unitPlayerData, giftConfig, num);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
// 整个Buff系统看看如何重构一下,部分礼物效果并不好实现
|
||||||
|
if (giftConfig.Id == 1)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (giftConfig.Id == 5)
|
||||||
|
{
|
||||||
|
// 龙卷风
|
||||||
|
NlywGiftFunc(giftConfig, num, unitPlayerData);
|
||||||
|
}
|
||||||
|
else if (giftConfig.Id == 6)
|
||||||
|
{
|
||||||
|
// 天机窃算
|
||||||
|
MfjGiftFunc(giftConfig, num, unitPlayerData);
|
||||||
|
}
|
||||||
|
else if (giftConfig.Id == 7)
|
||||||
|
{
|
||||||
|
// 陨石撞击
|
||||||
|
NldcGiftFunc(giftConfig, num, unitPlayerData);
|
||||||
|
}
|
||||||
|
else if (giftConfig.Id == 8)
|
||||||
|
{
|
||||||
|
// 科技爆发
|
||||||
|
AdbzGiftFunc(giftConfig, num, unitPlayerData);
|
||||||
|
}
|
||||||
|
else if (giftConfig.Id == 9)
|
||||||
|
{
|
||||||
|
// 天道推演
|
||||||
|
AdbzGiftFunc(giftConfig, num, unitPlayerData);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 每次积分变动
|
// 每次积分变动
|
||||||
m_TeamSortList.Sort((a, b) =>
|
m_TeamSortList.Sort((a, b) =>
|
||||||
{
|
{
|
||||||
@ -368,15 +401,70 @@ namespace GameLogic
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region 游戏中具体的礼物效果处理
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 能力药丸礼物效果
|
/// 能力药丸礼物效果
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void NlywGiftFunc()
|
private void NlywGiftFunc(GiftConfig giftConfig, int num, UnitPlayerData unitPlayerData)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 魔法镜礼物效果
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="giftConfig"></param>
|
||||||
|
/// <param name="num"></param>
|
||||||
|
/// <param name="unitPlayerData"></param>
|
||||||
|
private void MfjGiftFunc(GiftConfig giftConfig, int num, UnitPlayerData unitPlayerData)
|
||||||
|
{
|
||||||
|
var actor = GetTeamActor(unitPlayerData.teamId);
|
||||||
|
if (actor == null)
|
||||||
|
{
|
||||||
|
Log.Error("actor == null" + unitPlayerData.teamId);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 生成一个Buff添加.并没有特殊效果
|
||||||
|
actor.AddBuff(new Buff()
|
||||||
|
{
|
||||||
|
m_Id = giftConfig.Id,
|
||||||
|
addPower = giftConfig.AddPower * num,
|
||||||
|
m_AllTimer = giftConfig.TimerLen,
|
||||||
|
m_CraeteTimer = Time.deltaTime,
|
||||||
|
}, unitPlayerData, giftConfig);
|
||||||
|
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 甜甜圈礼物效果
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="giftConfig"></param>
|
||||||
|
/// <param name="num"></param>
|
||||||
|
/// <param name="unitPlayerData"></param>
|
||||||
|
private void TtqGiftFunc(GiftConfig giftConfig, int num, UnitPlayerData unitPlayerData)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 能量电池礼物效果
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="giftConfig"></param>
|
||||||
|
/// <param name="num"></param>
|
||||||
|
/// <param name="unitPlayerData"></param>
|
||||||
|
private void NldcGiftFunc(GiftConfig giftConfig, int num, UnitPlayerData unitPlayerData)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 爱的爆炸礼物效果
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="giftConfig"></param>
|
||||||
|
/// <param name="num"></param>
|
||||||
|
/// <param name="unitPlayerData"></param>
|
||||||
|
private void AdbzGiftFunc(GiftConfig giftConfig, int num, UnitPlayerData unitPlayerData)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 游戏结算
|
/// 游戏结算
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -25,6 +25,9 @@ namespace GameLogic
|
|||||||
private Button m_btn_SendGift4;
|
private Button m_btn_SendGift4;
|
||||||
private Button m_btn_SendGift5;
|
private Button m_btn_SendGift5;
|
||||||
private Button m_btn_SendGift6;
|
private Button m_btn_SendGift6;
|
||||||
|
private Button m_btn_SendGift7;
|
||||||
|
private Button m_btn_SendGift8;
|
||||||
|
private Button m_btn_SendGift9;
|
||||||
protected override void ScriptGenerator()
|
protected override void ScriptGenerator()
|
||||||
{
|
{
|
||||||
m_rect_midPanel = FindChildComponent<RectTransform>("m_rect_midPanel");
|
m_rect_midPanel = FindChildComponent<RectTransform>("m_rect_midPanel");
|
||||||
@ -44,6 +47,9 @@ namespace GameLogic
|
|||||||
m_btn_SendGift4 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift4");
|
m_btn_SendGift4 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift4");
|
||||||
m_btn_SendGift5 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift5");
|
m_btn_SendGift5 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift5");
|
||||||
m_btn_SendGift6 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift6");
|
m_btn_SendGift6 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift6");
|
||||||
|
m_btn_SendGift7 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift7");
|
||||||
|
m_btn_SendGift8 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift8");
|
||||||
|
m_btn_SendGift9 = FindChildComponent<Button>("m_rect_bttomPanel/m_btn_SendGift9");
|
||||||
m_btn_PassGm.onClick.AddListener(OnClick_PassGmBtn);
|
m_btn_PassGm.onClick.AddListener(OnClick_PassGmBtn);
|
||||||
m_btn_SendGm.onClick.AddListener(OnClick_SendGmBtn);
|
m_btn_SendGm.onClick.AddListener(OnClick_SendGmBtn);
|
||||||
m_btn_SendLike.onClick.AddListener(OnClick_SendLikeBtn);
|
m_btn_SendLike.onClick.AddListener(OnClick_SendLikeBtn);
|
||||||
@ -54,6 +60,9 @@ namespace GameLogic
|
|||||||
m_btn_SendGift4.onClick.AddListener(OnClick_SendGift4Btn);
|
m_btn_SendGift4.onClick.AddListener(OnClick_SendGift4Btn);
|
||||||
m_btn_SendGift5.onClick.AddListener(OnClick_SendGift5Btn);
|
m_btn_SendGift5.onClick.AddListener(OnClick_SendGift5Btn);
|
||||||
m_btn_SendGift6.onClick.AddListener(OnClick_SendGift6Btn);
|
m_btn_SendGift6.onClick.AddListener(OnClick_SendGift6Btn);
|
||||||
|
m_btn_SendGift7.onClick.AddListener(OnClick_SendGift7Btn);
|
||||||
|
m_btn_SendGift8.onClick.AddListener(OnClick_SendGift8Btn);
|
||||||
|
m_btn_SendGift9.onClick.AddListener(OnClick_SendGift9Btn);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region 事件
|
#region 事件
|
||||||
@ -100,6 +109,18 @@ namespace GameLogic
|
|||||||
{
|
{
|
||||||
SendRandowGift(7);
|
SendRandowGift(7);
|
||||||
}
|
}
|
||||||
|
private void OnClick_SendGift7Btn()
|
||||||
|
{
|
||||||
|
SendRandowGift(8);
|
||||||
|
}
|
||||||
|
private void OnClick_SendGift8Btn()
|
||||||
|
{
|
||||||
|
SendRandowGift(9);
|
||||||
|
}
|
||||||
|
private void OnClick_SendGift9Btn()
|
||||||
|
{
|
||||||
|
SendRandowGift(10);
|
||||||
|
}
|
||||||
|
|
||||||
private void OnClick_PassGmBtn()
|
private void OnClick_PassGmBtn()
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ public sealed partial class GiftConfig : Luban.BeanBase
|
|||||||
Desc = _buf.ReadString();
|
Desc = _buf.ReadString();
|
||||||
AddPower = _buf.ReadInt();
|
AddPower = _buf.ReadInt();
|
||||||
TimerLen = _buf.ReadInt();
|
TimerLen = _buf.ReadInt();
|
||||||
ScaleAdd = _buf.ReadInt();
|
EffectName = _buf.ReadString();
|
||||||
DyGiftId = _buf.ReadString();
|
DyGiftId = _buf.ReadString();
|
||||||
KsGiftId = _buf.ReadString();
|
KsGiftId = _buf.ReadString();
|
||||||
TkGiftId = _buf.ReadString();
|
TkGiftId = _buf.ReadString();
|
||||||
@ -55,9 +55,9 @@ public sealed partial class GiftConfig : Luban.BeanBase
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly int TimerLen;
|
public readonly int TimerLen;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 礼物增加缩放大小
|
/// 特效表Id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly int ScaleAdd;
|
public readonly string EffectName;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 抖音礼物Id
|
/// 抖音礼物Id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -94,7 +94,7 @@ public sealed partial class GiftConfig : Luban.BeanBase
|
|||||||
+ "desc:" + Desc + ","
|
+ "desc:" + Desc + ","
|
||||||
+ "AddPower:" + AddPower + ","
|
+ "AddPower:" + AddPower + ","
|
||||||
+ "TimerLen:" + TimerLen + ","
|
+ "TimerLen:" + TimerLen + ","
|
||||||
+ "ScaleAdd:" + ScaleAdd + ","
|
+ "EffectName:" + EffectName + ","
|
||||||
+ "DyGiftId:" + DyGiftId + ","
|
+ "DyGiftId:" + DyGiftId + ","
|
||||||
+ "KsGiftId:" + KsGiftId + ","
|
+ "KsGiftId:" + KsGiftId + ","
|
||||||
+ "TkGiftId:" + TkGiftId + ","
|
+ "TkGiftId:" + TkGiftId + ","
|
||||||
|
Loading…
x
Reference in New Issue
Block a user