Compare commits

..

No commits in common. "de243ca1ccc35071d013c8d7c8496af8cc8bb6a1" and "138f923264555715f2834af5ff3cac17f44064fd" have entirely different histories.

12 changed files with 941 additions and 991 deletions

View File

@ -1,12 +1,22 @@
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1168051963893118}
m_IsPrefabParent: 1
--- !u!1 &1026234277025590 --- !u!1 &1026234277025590
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224770140206732756} - component: {fileID: 224770140206732756}
- component: {fileID: 222623742081011482} - component: {fileID: 222623742081011482}
@ -19,115 +29,12 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224770140206732756
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1026234277025590}
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: 224688741740444772}
m_Father: {fileID: 224247655386807502}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 172.1, y: -37.5}
m_SizeDelta: {x: 344.1, y: 75.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222623742081011482
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1026234277025590}
m_CullTransparentMesh: 1
--- !u!114 &114466248550890148
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1026234277025590}
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: 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 &114214230567826922
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1026234277025590}
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: Highlighted
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 114466248550890148}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &1168051963893118 --- !u!1 &1168051963893118
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224349703481187764} - component: {fileID: 224349703481187764}
- component: {fileID: 223920107105332924} - component: {fileID: 223920107105332924}
@ -140,97 +47,12 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224349703481187764
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1168051963893118}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 224188954884660388}
- {fileID: 224247655386807502}
m_Father: {fileID: 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: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!223 &223920107105332924
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1168051963893118}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 32767
m_TargetDisplay: 0
--- !u!114 &114572656286436090
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1168051963893118}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 1440, y: 2960}
m_ScreenMatchMode: 2
m_MatchWidthOrHeight: 0.5
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!114 &114715352366433274
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1168051963893118}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1 &1455544211993956 --- !u!1 &1455544211993956
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224188954884660388} - component: {fileID: 224188954884660388}
- component: {fileID: 222991998422378294} - component: {fileID: 222991998422378294}
@ -242,70 +64,12 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224188954884660388
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1455544211993956}
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: 224349703481187764}
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 &222991998422378294
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1455544211993956}
m_CullTransparentMesh: 1
--- !u!114 &114288914574884706
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1455544211993956}
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, g: 0, b: 0, a: 0.80784315}
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: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1519554490061234 --- !u!1 &1519554490061234
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224688741740444772} - component: {fileID: 224688741740444772}
- component: {fileID: 222698607200636900} - component: {fileID: 222698607200636900}
@ -317,53 +81,43 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224688741740444772 --- !u!1 &1919592978971710
RectTransform: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
m_GameObject: {fileID: 1519554490061234} m_Component:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - component: {fileID: 224247655386807502}
m_LocalPosition: {x: 0, y: 0, z: 0} - component: {fileID: 222996861862976686}
m_LocalScale: {x: 1, y: 1, z: 1} - component: {fileID: 114508546300043044}
m_ConstrainProportionsScale: 0 - component: {fileID: 114645982259750808}
m_Children: [] m_Layer: 5
m_Father: {fileID: 224770140206732756} m_Name: Ad
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_TagString: Untagged
m_AnchorMin: {x: 0, y: 0} m_Icon: {fileID: 0}
m_AnchorMax: {x: 1, y: 1} m_NavMeshLayer: 0
m_AnchoredPosition: {x: 9.1, y: -5.6} m_StaticEditorFlags: 0
m_SizeDelta: {x: 18.2, y: 11.2} m_IsActive: 1
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222698607200636900
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1519554490061234}
m_CullTransparentMesh: 1
--- !u!114 &114090591266759776 --- !u!114 &114090591266759776
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1519554490061234} m_GameObject: {fileID: 1519554490061234}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData: m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 50 m_FontSize: 50
@ -378,98 +132,162 @@ MonoBehaviour:
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: Close Ad m_Text: Close Ad
--- !u!1 &1919592978971710 --- !u!114 &114214230567826922
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 224247655386807502}
- component: {fileID: 222996861862976686}
- component: {fileID: 114508546300043044}
- component: {fileID: 114645982259750808}
m_Layer: 5
m_Name: Ad
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &224247655386807502
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1919592978971710}
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: 224770140206732756}
m_Father: {fileID: 224349703481187764}
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: 1436, y: 2000}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222996861862976686
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1919592978971710}
m_CullTransparentMesh: 1
--- !u!114 &114508546300043044
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1026234277025590}
m_GameObject: {fileID: 1919592978971710}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Navigation:
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Mode: 3
m_RaycastTarget: 1 m_SelectOnUp: {fileID: 0}
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_SelectOnDown: {fileID: 0}
m_Maskable: 1 m_SelectOnLeft: {fileID: 0}
m_OnCullStateChanged: m_SelectOnRight: {fileID: 0}
m_PersistentCalls: m_Transition: 1
m_Calls: [] m_Colors:
m_Sprite: {fileID: 21300000, guid: 8a53f9c63a5e94b14a98698a7b07365b, type: 3} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_Type: 0 m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PreserveAspect: 0 m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_FillCenter: 1 m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_FillMethod: 4 m_ColorMultiplier: 1
m_FillAmount: 1 m_FadeDuration: 0.1
m_FillClockwise: 1 m_SpriteState:
m_FillOrigin: 0 m_HighlightedSprite: {fileID: 0}
m_UseSpriteMesh: 0 m_PressedSprite: {fileID: 0}
m_PixelsPerUnitMultiplier: 1 m_DisabledSprite: {fileID: 0}
--- !u!114 &114645982259750808 m_AnimationTriggers:
MonoBehaviour: m_NormalTrigger: Normal
m_ObjectHideFlags: 0 m_HighlightedTrigger: Highlighted
m_CorrespondingSourceObject: {fileID: 0} m_PressedTrigger: Pressed
m_PrefabInstance: {fileID: 0} m_DisabledTrigger: Disabled
m_PrefabAsset: {fileID: 0} m_Interactable: 1
m_GameObject: {fileID: 1919592978971710} m_TargetGraphic: {fileID: 114466248550890148}
m_Enabled: 1 m_OnClick:
m_EditorHideFlags: 0 m_PersistentCalls:
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} m_Calls: []
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &114288914574884706
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1455544211993956}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.80784315}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &114466248550890148
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1026234277025590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 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
--- !u!114 &114508546300043044
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1919592978971710}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 8a53f9c63a5e94b14a98698a7b07365b, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &114572656286436090
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1168051963893118}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 1440, y: 2960}
m_ScreenMatchMode: 2
m_MatchWidthOrHeight: 0.5
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!114 &114645982259750808
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1919592978971710}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -479,23 +297,176 @@ MonoBehaviour:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, 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_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_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1 m_ColorMultiplier: 1
m_FadeDuration: 0.1 m_FadeDuration: 0.1
m_SpriteState: m_SpriteState:
m_HighlightedSprite: {fileID: 0} m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0} m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0} m_DisabledSprite: {fileID: 0}
m_AnimationTriggers: m_AnimationTriggers:
m_NormalTrigger: Normal m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Highlighted
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 1
m_TargetGraphic: {fileID: 114508546300043044} m_TargetGraphic: {fileID: 114508546300043044}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &114715352366433274
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1168051963893118}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!222 &222623742081011482
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1026234277025590}
--- !u!222 &222698607200636900
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1519554490061234}
--- !u!222 &222991998422378294
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1455544211993956}
--- !u!222 &222996861862976686
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1919592978971710}
--- !u!223 &223920107105332924
Canvas:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1168051963893118}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &224188954884660388
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1455544211993956}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 224349703481187764}
m_RootOrder: 0
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!224 &224247655386807502
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1919592978971710}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 224770140206732756}
m_Father: {fileID: 224349703481187764}
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, y: 0}
m_SizeDelta: {x: 1436, y: 2000}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224349703481187764
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1168051963893118}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 224188954884660388}
- {fileID: 224247655386807502}
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: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!224 &224688741740444772
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1519554490061234}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 224770140206732756}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 9.1, y: -5.6}
m_SizeDelta: {x: 18.2, y: 11.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224770140206732756
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1026234277025590}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 224688741740444772}
m_Father: {fileID: 224247655386807502}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 172.1, y: -37.5}
m_SizeDelta: {x: 344.1, y: 75.2}
m_Pivot: {x: 0.5, y: 0.5}

View File

@ -1,12 +1,22 @@
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1632466019560500}
m_IsPrefabParent: 1
--- !u!1 &1145201493799244 --- !u!1 &1145201493799244
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224859375040150520} - component: {fileID: 224859375040150520}
- component: {fileID: 222539723179981582} - component: {fileID: 222539723179981582}
@ -18,74 +28,12 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224859375040150520
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1145201493799244}
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: 224646837243202000}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 237.9, y: -43.363}
m_SizeDelta: {x: 432.3, y: 53.775}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222539723179981582
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1145201493799244}
m_CullTransparentMesh: 1
--- !u!114 &114644123904461240
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1145201493799244}
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: 40
m_FontStyle: 1
m_BestFit: 0
m_MinSize: 0
m_MaxSize: 40
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 5 second(s) remaining
--- !u!1 &1440340526681520 --- !u!1 &1440340526681520
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224646837243202000} - component: {fileID: 224646837243202000}
- component: {fileID: 222062092593612000} - component: {fileID: 222062092593612000}
@ -98,116 +46,12 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224646837243202000
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440340526681520}
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: 224172518945175052}
- {fileID: 224859375040150520}
m_Father: {fileID: 224858207565310680}
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: 1436, y: 2000}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222062092593612000
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440340526681520}
m_CullTransparentMesh: 1
--- !u!114 &114435428706387640
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440340526681520}
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: 8a53f9c63a5e94b14a98698a7b07365b, 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!114 &114820238492461956
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440340526681520}
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: Highlighted
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 114435428706387640}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &1632466019560500 --- !u!1 &1632466019560500
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224858207565310680} - component: {fileID: 224858207565310680}
- component: {fileID: 223253263155428692} - component: {fileID: 223253263155428692}
@ -220,60 +64,110 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &224858207565310680 --- !u!1 &1641665161670648
RectTransform: GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 224559117849289246}
- component: {fileID: 222246365610716666}
- component: {fileID: 114514696656541846}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1652198827308984
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 224172518945175052}
- component: {fileID: 222229915290430514}
- component: {fileID: 114777983548721902}
- component: {fileID: 114638760954846786}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1728821091649996
GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} serializedVersion: 5
m_GameObject: {fileID: 1632466019560500} m_Component:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - component: {fileID: 224102788109289026}
m_LocalPosition: {x: 0, y: 0, z: 0} - component: {fileID: 222431000284531562}
m_LocalScale: {x: 0, y: 0, z: 0} - component: {fileID: 114197769342207226}
m_ConstrainProportionsScale: 0 m_Layer: 5
m_Children: m_Name: Background
- {fileID: 224102788109289026} m_TagString: Untagged
- {fileID: 224646837243202000} m_Icon: {fileID: 0}
m_Father: {fileID: 0} m_NavMeshLayer: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_StaticEditorFlags: 0
m_AnchorMin: {x: 0, y: 0} m_IsActive: 1
m_AnchorMax: {x: 0, y: 0} --- !u!114 &114197769342207226
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!223 &223253263155428692
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1632466019560500}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 32767
m_TargetDisplay: 0
--- !u!114 &114432944070235470
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1728821091649996}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.80784315}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &114257052656689914
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1632466019560500} m_GameObject: {fileID: 1632466019560500}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &114432944070235470
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1632466019560500}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_UiScaleMode: 1 m_UiScaleMode: 1
@ -286,89 +180,52 @@ MonoBehaviour:
m_FallbackScreenDPI: 96 m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96 m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1 m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0 --- !u!114 &114435428706387640
--- !u!114 &114257052656689914
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1440340526681520}
m_GameObject: {fileID: 1632466019560500}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1 m_Material: {fileID: 0}
m_BlockingObjects: 0 m_Color: {r: 1, g: 1, b: 1, a: 1}
m_BlockingMask: m_RaycastTarget: 1
serializedVersion: 2 m_OnCullStateChanged:
m_Bits: 4294967295 m_PersistentCalls:
--- !u!1 &1641665161670648 m_Calls: []
GameObject: m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
m_ObjectHideFlags: 0 Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_CorrespondingSourceObject: {fileID: 0} m_Sprite: {fileID: 21300000, guid: 8a53f9c63a5e94b14a98698a7b07365b, type: 3}
m_PrefabInstance: {fileID: 0} m_Type: 0
m_PrefabAsset: {fileID: 0} m_PreserveAspect: 0
serializedVersion: 6 m_FillCenter: 1
m_Component: m_FillMethod: 4
- component: {fileID: 224559117849289246} m_FillAmount: 1
- component: {fileID: 222246365610716666} m_FillClockwise: 1
- component: {fileID: 114514696656541846} m_FillOrigin: 0
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &224559117849289246
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1641665161670648}
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: 224172518945175052}
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 &222246365610716666
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1641665161670648}
m_CullTransparentMesh: 1
--- !u!114 &114514696656541846 --- !u!114 &114514696656541846
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1641665161670648} m_GameObject: {fileID: 1641665161670648}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData: m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 40 m_FontSize: 40
@ -383,98 +240,19 @@ MonoBehaviour:
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: Close Ad m_Text: Close Ad
--- !u!1 &1652198827308984
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 224172518945175052}
- component: {fileID: 222229915290430514}
- component: {fileID: 114777983548721902}
- component: {fileID: 114638760954846786}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &224172518945175052
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1652198827308984}
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: 224559117849289246}
m_Father: {fileID: 224646837243202000}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 149.4, y: -35.1}
m_SizeDelta: {x: 298.7, y: 70.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222229915290430514
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1652198827308984}
m_CullTransparentMesh: 1
--- !u!114 &114777983548721902
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1652198827308984}
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: 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 &114638760954846786 --- !u!114 &114638760954846786
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1652198827308984} m_GameObject: {fileID: 1652198827308984}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -484,98 +262,286 @@ MonoBehaviour:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, 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_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_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1 m_ColorMultiplier: 1
m_FadeDuration: 0.1 m_FadeDuration: 0.1
m_SpriteState: m_SpriteState:
m_HighlightedSprite: {fileID: 0} m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0} m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0} m_DisabledSprite: {fileID: 0}
m_AnimationTriggers: m_AnimationTriggers:
m_NormalTrigger: Normal m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Highlighted
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 1
m_TargetGraphic: {fileID: 114777983548721902} m_TargetGraphic: {fileID: 114777983548721902}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
--- !u!1 &1728821091649996 m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
GameObject: Culture=neutral, PublicKeyToken=null
m_ObjectHideFlags: 0 --- !u!114 &114644123904461240
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 224102788109289026}
- component: {fileID: 222431000284531562}
- component: {fileID: 114197769342207226}
m_Layer: 5
m_Name: Background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &224102788109289026
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1728821091649996}
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: 224858207565310680}
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 &222431000284531562
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1728821091649996}
m_CullTransparentMesh: 1
--- !u!114 &114197769342207226
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInternal: {fileID: 100100000}
m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1145201493799244}
m_GameObject: {fileID: 1728821091649996}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.80784315} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 0} m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
m_Type: 0 Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 40
m_FontStyle: 1
m_BestFit: 0
m_MinSize: 0
m_MaxSize: 40
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 5 second(s) remaining
--- !u!114 &114777983548721902
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1652198827308984}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
m_FillMethod: 4 m_FillMethod: 4
m_FillAmount: 1 m_FillAmount: 1
m_FillClockwise: 1 m_FillClockwise: 1
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 --- !u!114 &114820238492461956
m_PixelsPerUnitMultiplier: 1 MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1440340526681520}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
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_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_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 114435428706387640}
m_OnClick:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!222 &222062092593612000
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1440340526681520}
--- !u!222 &222229915290430514
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1652198827308984}
--- !u!222 &222246365610716666
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1641665161670648}
--- !u!222 &222431000284531562
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1728821091649996}
--- !u!222 &222539723179981582
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1145201493799244}
--- !u!223 &223253263155428692
Canvas:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1632466019560500}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &224102788109289026
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1728821091649996}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 224858207565310680}
m_RootOrder: 0
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!224 &224172518945175052
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1652198827308984}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 224559117849289246}
m_Father: {fileID: 224646837243202000}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 149.4, y: -35.1}
m_SizeDelta: {x: 298.7, y: 70.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224559117849289246
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1641665161670648}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 224172518945175052}
m_RootOrder: 0
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!224 &224646837243202000
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1440340526681520}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 224172518945175052}
- {fileID: 224859375040150520}
m_Father: {fileID: 224858207565310680}
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, y: 0}
m_SizeDelta: {x: 1436, y: 2000}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224858207565310680
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1632466019560500}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 224102788109289026}
- {fileID: 224646837243202000}
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: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!224 &224859375040150520
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1145201493799244}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 224646837243202000}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 237.9, y: -43.363}
m_SizeDelta: {x: 432.3, y: 53.775}
m_Pivot: {x: 0.5, y: 0.5}

View File

@ -13,7 +13,7 @@ OcclusionCullingSettings:
--- !u!104 &2 --- !u!104 &2
RenderSettings: RenderSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 10 serializedVersion: 9
m_Fog: 0 m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3 m_FogMode: 3
@ -38,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0} m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 12 serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings: m_GISettings:
serializedVersion: 2 serializedVersion: 2
m_BounceScale: 1 m_BounceScale: 1
@ -66,6 +66,9 @@ LightmapSettings:
m_LightmapParameters: {fileID: 0} m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1 m_LightmapsBakeMode: 1
m_TextureCompression: 1 m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2 m_ReflectionCompression: 2
m_MixedBakeMode: 2 m_MixedBakeMode: 2
m_BakeBackend: 0 m_BakeBackend: 0
@ -373,6 +376,44 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 600c02144c4813244abd262cbcbe8825, type: 3} m_Script: {fileID: 11500000, guid: 600c02144c4813244abd262cbcbe8825, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
show: 0
UserData:
fps: 0
fpsText:
images:
clearImage: {fileID: 2800000, guid: 112c6fcf56e349449ab2e6ad76b67816, type: 3}
collapseImage: {fileID: 2800000, guid: 4623f326a884a2546ab39078bf7822c3, type: 3}
clearOnNewSceneImage: {fileID: 2800000, guid: 3a6bc61a8319b1949ab9f1f2db1302b4, type: 3}
showTimeImage: {fileID: 2800000, guid: 782e03669fa4a614e89ef56252134250, type: 3}
showSceneImage: {fileID: 2800000, guid: ff4dfb29f203a174ab8e4c498afe908a, type: 3}
userImage: {fileID: 2800000, guid: 2bcdc012e7356f1449ce7d3a31dc458c, type: 3}
showMemoryImage: {fileID: 2800000, guid: f447d62f2dacf9843be7cbf168a3a9d0, type: 3}
softwareImage: {fileID: 2800000, guid: 6c91fc88ee6c791468318d85febfb48d, type: 3}
dateImage: {fileID: 2800000, guid: a7561cd0a9f62a84e99bff1abce2a222, type: 3}
showFpsImage: {fileID: 2800000, guid: 90b2f48155dc0e74f8e428561ac79da5, type: 3}
infoImage: {fileID: 2800000, guid: 2954bef266e6d794aba08ceacc887a0f, type: 3}
saveLogsImage: {fileID: 2800000, guid: 4a4821d80a1fc774fb76eac6213544e7, type: 3}
searchImage: {fileID: 2800000, guid: bfef37b5a26d2264798616d960451329, type: 3}
copyImage: {fileID: 2800000, guid: 7f36d71624c630046b855909c497be17, type: 3}
copyAllImage: {fileID: 2800000, guid: b2eeb4320cc98864391dcb102e0778b9, type: 3}
closeImage: {fileID: 2800000, guid: b65e9be99974bc94eab5d6698811d0b8, type: 3}
buildFromImage: {fileID: 2800000, guid: 8702be598dd9f504ca33be2afee2ca33, type: 3}
systemInfoImage: {fileID: 2800000, guid: e9011b1dc9256ad4d9c19a31c595f95f, type: 3}
graphicsInfoImage: {fileID: 2800000, guid: 999d31716332cc04eb4abc9c9270b0ca, type: 3}
backImage: {fileID: 2800000, guid: a0632a18e7c665641b94fea66506ab50, type: 3}
logImage: {fileID: 2800000, guid: e876b803a4dd5c5488078071d15aa9c0, type: 3}
warningImage: {fileID: 2800000, guid: 1066be8e7b994b94c8a182b8dbe30705, type: 3}
errorImage: {fileID: 2800000, guid: 7640ebf8b3a92124d821d3b4b8b3fd7e, type: 3}
barImage: {fileID: 2800000, guid: 8128d4f4c0193e34586f9631ef7d4787, type: 3}
button_activeImage: {fileID: 2800000, guid: 2580a2e903691e44282e56ed6e0ff37a, type: 3}
even_logImage: {fileID: 2800000, guid: d27aad55b568c6544b0b95a95da44bc7, type: 3}
odd_logImage: {fileID: 2800000, guid: 8ffbb44a2c3adae45913474e4fd487f5, type: 3}
selectedImage: {fileID: 2800000, guid: 17117a429b08e7e43b0b6c8421de69fe, type: 3}
reporterScrollerSkin: {fileID: 11400000, guid: 1cc68832d00d3284a9324a4dc05be753, type: 2}
size: {x: 32, y: 32}
maxSize: 20
numOfCircleToShow: 1
Initialized: 0
--- !u!4 &336995266 --- !u!4 &336995266
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -885,6 +926,7 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 2137923634} - component: {fileID: 2137923634}
- component: {fileID: 2137923635}
m_Layer: 0 m_Layer: 0
m_Name: '[SDKManager]' m_Name: '[SDKManager]'
m_TagString: Untagged m_TagString: Untagged
@ -907,6 +949,18 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2137923635
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2137923633}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d42e67765404c5c4f9d0a5df021643b9, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1660057539 &9223372036854775807 --- !u!1660057539 &9223372036854775807
SceneRoots: SceneRoots:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -1,5 +1,4 @@
using System; using System;
using UnityEditor.Media;
namespace WZ namespace WZ
{ {
@ -15,8 +14,6 @@ namespace WZ
PlatformType Platfrom { get; } PlatformType Platfrom { get; }
void RefreshAdsData();
/// <summary> /// <summary>
/// 初始化广告SDK /// 初始化广告SDK
/// </summary> /// </summary>

View File

@ -27,7 +27,7 @@ namespace WZ
private Action<bool> _rvCloseCallback = null; private Action<bool> _rvCloseCallback = null;
private Action _ivCloseCallback = null; private Action _ivCloseCallback = null;
private Action _rvShowFailedCallback = null; private Action _rvShowFailedCallback = null;
private bool _initialized = false; private bool _initialized;
private float _rvStartLoadTime = 0; private float _rvStartLoadTime = 0;
private float _ivStartLoadTime = 0; private float _ivStartLoadTime = 0;
private float _nvStartLoadTime = 0; private float _nvStartLoadTime = 0;
@ -36,27 +36,21 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
if (_initialized) return;
MobileAds.RaiseAdEventsOnUnityMainThread = true; MobileAds.RaiseAdEventsOnUnityMainThread = true;
MobileAds.Initialize(initStatus =>
{
if (_bannerAdUnits.Count > 0) LoadBanner();
if (_interstitialAdUnits.Count > 0) LoadInterstitial();
if (_rewardedAdUnits.Count > 0) LoadRewarded();
AdsSplashManager.Instance.InitSplash();
_initialized = true;
LoggerUtils.Debug("[Admob] init success");
});
}
public void RefreshAdsData()
{
_bannerAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Banner); _bannerAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Banner);
_interstitialAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Interstitial); _interstitialAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Interstitial);
_nativeAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Native); _nativeAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Native);
_splashAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Splash); _splashAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Splash);
_rewardedAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Rewarded); _rewardedAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Rewarded);
MobileAds.Initialize(initStatus =>
{
if (_bannerAdUnits.Count > 0) LoadBanner();
if (_interstitialAdUnits.Count > 0) LoadInterstitial();
if (_rewardedAdUnits.Count > 0) LoadRewarded();
_initialized = true;
LoggerUtils.Debug("[Admob] init success");
});
} }
#region 广 #region 广
@ -92,7 +86,7 @@ namespace WZ
public bool IsRewardedAvailable() public bool IsRewardedAvailable()
{ {
if (!_initialized || _rewardedAdUnits.Count == 0) return false; if (!_initialized) return false;
return _admobRewardedAdManager.GetAvailableAdUnits().Count > 0; return _admobRewardedAdManager.GetAvailableAdUnits().Count > 0;
} }
@ -170,7 +164,8 @@ namespace WZ
} }
public bool IsInterstitialAvailable() public bool IsInterstitialAvailable()
{; {
if (!_initialized) return false;
return _admobInterstitialAdManager.GetAvailableAdUnits().Count > 0; return _admobInterstitialAdManager.GetAvailableAdUnits().Count > 0;
} }

View File

@ -41,9 +41,9 @@ namespace WZ
foreach (var network in _adNetworks) foreach (var network in _adNetworks)
{ {
network.RefreshAdsData();
network.Initialize(); network.Initialize();
} }
AdsSplashManager.Instance.InitSplash();
} }
public bool IsRewardAdReady() public bool IsRewardAdReady()
@ -171,7 +171,7 @@ namespace WZ
bigoPrice: BigoAdsManager.Instance.GetInterstitialRevenue(), bigoPrice: BigoAdsManager.Instance.GetInterstitialRevenue(),
// todo : 这里的kwaiPrice暂时设置为0后续需要根据实际情况设置 // todo : 这里的kwaiPrice暂时设置为0后续需要根据实际情况设置
kwaiPrice: 0, kwaiPrice: 0,
toponAdUnitId: TpnAdsManager.Instance._topon_interstitial_units toponAdUnitId: TpnAdsManager.Instance.topon_interstitial_units
); );
return AdsBidResult.GetPlatformType(priceInfo); return AdsBidResult.GetPlatformType(priceInfo);
} }
@ -183,7 +183,7 @@ namespace WZ
bigoPrice: BigoAdsManager.Instance.GetRewardedRevenue(), bigoPrice: BigoAdsManager.Instance.GetRewardedRevenue(),
// todo : 这里的kwaiPrice暂时设置为0后续需要根据实际情况设置 // todo : 这里的kwaiPrice暂时设置为0后续需要根据实际情况设置
kwaiPrice: 0, kwaiPrice: 0,
toponAdUnitId: TpnAdsManager.Instance._topon_rewarded_units toponAdUnitId: TpnAdsManager.Instance.topon_rewarded_units
); );
return AdsBidResult.GetPlatformType(priceInfo); return AdsBidResult.GetPlatformType(priceInfo);
} }

View File

@ -7,11 +7,27 @@ using UnityEngine;
namespace WZ namespace WZ
{ {
public class AdsSplashManager : D_MonoSingleton<AdsSplashManager>
public class AdsSplashManager : MonoBehaviour
{ {
public static AdsSplashManager Instance { get; private set; }
public float backgroundTime = 0; public float backgroundTime = 0;
private int timeoutDuration = 5; private int timeoutDuration = 5;
private bool _coldLaunch = true; private bool _coldLaunch = true;
private void Awake()
{
if (Instance != null && Instance != this)
{
Destroy(gameObject);
return;
}
Instance = this;
DontDestroyOnLoad(gameObject);
}
public void InitSplash() public void InitSplash()
{ {
timeoutDuration = GetSplashConfigItem().loadtime; timeoutDuration = GetSplashConfigItem().loadtime;

View File

@ -15,7 +15,7 @@ namespace WZ
private BigoInterstitialAdManager _interstitialAdManager; private BigoInterstitialAdManager _interstitialAdManager;
private List<string> _interstitialAdUnits = new List<string>(); private List<string> _interstitialAdUnits = new List<string>();
private List<string> _rewardedAdUnits = new List<string>(); private List<string> _rewardedAdUnits = new List<string>();
public string _bigo_app_id; public string bigo_app_id;
private bool _initialized; private bool _initialized;
private string _rvPos; private string _rvPos;
private string _IvPos; private string _IvPos;
@ -28,8 +28,10 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
bigo_app_id = AdConfigParser.GetBigoAppId();
if (string.IsNullOrEmpty(_bigo_app_id)) return; if (string.IsNullOrEmpty(bigo_app_id)) return;
_rewardedAdUnits = AdConfigParser.GetBigoAdUnits(AdsType.Rewarded);
_interstitialAdUnits = AdConfigParser.GetBigoAdUnits(AdsType.Interstitial);
BigoAdSdk.OnInitFinish += () => BigoAdSdk.OnInitFinish += () =>
{ {
LoggerUtils.Debug($"[Bigo] sdk init success"); LoggerUtils.Debug($"[Bigo] sdk init success");
@ -39,19 +41,12 @@ namespace WZ
}; };
var config = new BigoAdConfig.Builder() var config = new BigoAdConfig.Builder()
.SetAppId(_bigo_app_id) .SetAppId(bigo_app_id)
.SetDebugLog(false) .SetDebugLog(false)
.Build(); .Build();
BigoAdSdk.Initialize(config); BigoAdSdk.Initialize(config);
} }
public void RefreshAdsData()
{
_bigo_app_id = AdConfigParser.GetBigoAppId();
_rewardedAdUnits = AdConfigParser.GetBigoAdUnits(AdsType.Rewarded);
_interstitialAdUnits = AdConfigParser.GetBigoAdUnits(AdsType.Interstitial);
}
#region 广 #region 广
// 各个回调处理方法 // 各个回调处理方法
private void OnRewardedAdLoaded(string adUnitId) private void OnRewardedAdLoaded(string adUnitId)

View File

@ -12,9 +12,9 @@ namespace WZ
{ {
public string ClientName => "AppLovin"; public string ClientName => "AppLovin";
public PlatformType Platfrom => PlatformType.AppLovin; public PlatformType Platfrom => PlatformType.AppLovin;
private string _max_app_key; private string max_app_key;
private string _max_interstitial_units; private string max_interstitial_units;
private string _max_rewarded_units; private string max_rewarded_units;
private MaxSdkBase.AdInfo _interAdInfo; private MaxSdkBase.AdInfo _interAdInfo;
private MaxSdkBase.AdInfo _rewardAdInfo; private MaxSdkBase.AdInfo _rewardAdInfo;
private int _rewardRetryAttempt; private int _rewardRetryAttempt;
@ -29,8 +29,10 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
max_app_key = AdConfigParser.GetMaxAppKey();
if (string.IsNullOrEmpty(_max_app_key)) return; max_interstitial_units = AdConfigParser.GetMaxAdUnits(AdsType.Interstitial).FirstOrDefault();
max_rewarded_units = AdConfigParser.GetMaxAdUnits(AdsType.Rewarded).FirstOrDefault();
if (string.IsNullOrEmpty(max_app_key)) return;
LoggerUtils.Debug("[Max] init max"); LoggerUtils.Debug("[Max] init max");
// 关闭反转debug面板 // 关闭反转debug面板
MaxSdk.SetCreativeDebuggerEnabled(false); MaxSdk.SetCreativeDebuggerEnabled(false);
@ -44,23 +46,16 @@ namespace WZ
}; };
MaxSdk.SetVerboseLogging(false); MaxSdk.SetVerboseLogging(false);
MaxSdk.SetSdkKey(_max_app_key); MaxSdk.SetSdkKey(max_app_key);
MaxSdk.InitializeSdk(); MaxSdk.InitializeSdk();
LoadRewarded(); LoadRewarded();
LoadInterstitial(); LoadInterstitial();
} }
public void RefreshAdsData()
{
_max_app_key = AdConfigParser.GetMaxAppKey();
_max_interstitial_units = AdConfigParser.GetMaxAdUnits(AdsType.Interstitial).FirstOrDefault();
_max_rewarded_units = AdConfigParser.GetMaxAdUnits(AdsType.Rewarded).FirstOrDefault();
}
#region 广 #region 广
private void InitRewardedCallback() private void InitRewardedCallback()
{ {
if (string.IsNullOrEmpty(_max_rewarded_units)) return; if (string.IsNullOrEmpty(max_rewarded_units)) return;
MaxSdkCallbacks.Rewarded.OnAdLoadedEvent += OnRewardedAdLoadedEvent; MaxSdkCallbacks.Rewarded.OnAdLoadedEvent += OnRewardedAdLoadedEvent;
MaxSdkCallbacks.Rewarded.OnAdLoadFailedEvent += OnRewardedAdLoadFailedEvent; MaxSdkCallbacks.Rewarded.OnAdLoadFailedEvent += OnRewardedAdLoadFailedEvent;
MaxSdkCallbacks.Rewarded.OnAdDisplayFailedEvent += OnRewardedAdFailedToDisplayEvent; MaxSdkCallbacks.Rewarded.OnAdDisplayFailedEvent += OnRewardedAdFailedToDisplayEvent;
@ -72,8 +67,8 @@ namespace WZ
} }
public void LoadRewarded() public void LoadRewarded()
{ {
if (string.IsNullOrEmpty(_max_rewarded_units)) return; if (string.IsNullOrEmpty(max_rewarded_units)) return;
MaxSdk.LoadRewardedAd(_max_rewarded_units); MaxSdk.LoadRewardedAd(max_rewarded_units);
AdsActionEvents.TrackAdStartLoad(Platfrom, "", "", AdsType.Rewarded); AdsActionEvents.TrackAdStartLoad(Platfrom, "", "", AdsType.Rewarded);
_rvStartLoadTime = Time.realtimeSinceStartup; _rvStartLoadTime = Time.realtimeSinceStartup;
} }
@ -82,7 +77,7 @@ namespace WZ
_rvPos = adPos; _rvPos = adPos;
_rvCloseCallback = rewardCallback; _rvCloseCallback = rewardCallback;
_rvShowFailedCallback = showFailedCallback; _rvShowFailedCallback = showFailedCallback;
MaxSdk.ShowRewardedAd(_max_rewarded_units); MaxSdk.ShowRewardedAd(max_rewarded_units);
} }
public double GetRewardedRevenue() public double GetRewardedRevenue()
@ -99,7 +94,7 @@ namespace WZ
public bool IsRewardedAvailable() public bool IsRewardedAvailable()
{ {
return string.IsNullOrEmpty(_max_rewarded_units) ? false : MaxSdk.IsRewardedAdReady(_max_rewarded_units); ; return string.IsNullOrEmpty(max_rewarded_units) ? false : MaxSdk.IsRewardedAdReady(max_rewarded_units); ;
} }
private void OnRewardedRevenue(string adunit, MaxSdkBase.AdInfo adInfo) private void OnRewardedRevenue(string adunit, MaxSdkBase.AdInfo adInfo)
@ -163,7 +158,7 @@ namespace WZ
#region 广 #region 广
private void InitInterstitialCallback() private void InitInterstitialCallback()
{ {
if (string.IsNullOrEmpty(_max_interstitial_units)) return; if (string.IsNullOrEmpty(max_interstitial_units)) return;
MaxSdkCallbacks.Interstitial.OnAdLoadedEvent += OnInterstitialLoadedEvent; MaxSdkCallbacks.Interstitial.OnAdLoadedEvent += OnInterstitialLoadedEvent;
MaxSdkCallbacks.Interstitial.OnAdLoadFailedEvent += OnInterstitialLoadFailedEvent; MaxSdkCallbacks.Interstitial.OnAdLoadFailedEvent += OnInterstitialLoadFailedEvent;
MaxSdkCallbacks.Interstitial.OnAdDisplayFailedEvent += OnInterstitialAdFailedToDisplayEvent; MaxSdkCallbacks.Interstitial.OnAdDisplayFailedEvent += OnInterstitialAdFailedToDisplayEvent;
@ -175,8 +170,8 @@ namespace WZ
public void LoadInterstitial() public void LoadInterstitial()
{ {
if (string.IsNullOrEmpty(_max_rewarded_units)) return; if (string.IsNullOrEmpty(max_rewarded_units)) return;
MaxSdk.LoadInterstitial(_max_interstitial_units); MaxSdk.LoadInterstitial(max_interstitial_units);
AdsActionEvents.TrackAdStartLoad(Platfrom, "", "", AdsType.Interstitial); AdsActionEvents.TrackAdStartLoad(Platfrom, "", "", AdsType.Interstitial);
_ivStartLoadTime = Time.realtimeSinceStartup; _ivStartLoadTime = Time.realtimeSinceStartup;
} }
@ -196,12 +191,12 @@ namespace WZ
{ {
_ivPos = ivPos; _ivPos = ivPos;
_ivCloseCallback = closeCallback; _ivCloseCallback = closeCallback;
MaxSdk.ShowInterstitial(_max_interstitial_units); MaxSdk.ShowInterstitial(max_interstitial_units);
} }
public bool IsInterstitialAvailable() public bool IsInterstitialAvailable()
{ {
return string.IsNullOrEmpty(_max_interstitial_units) ? false : MaxSdk.IsInterstitialReady(_max_interstitial_units); return string.IsNullOrEmpty(max_interstitial_units) ? false : MaxSdk.IsInterstitialReady(max_interstitial_units);
} }
private void OnInterstitialLoadedEvent(string adunit, MaxSdkBase.AdInfo adInfo) private void OnInterstitialLoadedEvent(string adunit, MaxSdkBase.AdInfo adInfo)

View File

@ -13,10 +13,10 @@ namespace WZ
{ {
public string ClientName => "Topon"; public string ClientName => "Topon";
public PlatformType Platfrom => PlatformType.Topon; public PlatformType Platfrom => PlatformType.Topon;
public string _topon_app_id; public string topon_app_id;
public string _topon_app_key; public string topon_app_key;
public string _topon_interstitial_units; public string topon_interstitial_units;
public string _topon_rewarded_units; public string topon_rewarded_units;
private string _rvPos; private string _rvPos;
private string _ivPos; private string _ivPos;
private Action<bool> _rvCloseCallback = null; private Action<bool> _rvCloseCallback = null;
@ -25,11 +25,14 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
topon_app_id = AdConfigParser.GetTopOnAppId();
LoggerUtils.Debug("[Tpn] 初始化 Tpn 广告 SDK appid:" + _topon_app_id + " appkey:" + _topon_app_key + " ivId:" + _topon_interstitial_units + " rvId:" + _topon_rewarded_units); topon_app_key = AdConfigParser.GetTopOnAppKey();
if (!string.IsNullOrEmpty(_topon_app_id) && !string.IsNullOrEmpty(_topon_app_key)) topon_interstitial_units = AdConfigParser.GetTopOnAdUnits(AdsType.Interstitial).FirstOrDefault();
topon_rewarded_units = AdConfigParser.GetTopOnAdUnits(AdsType.Rewarded).FirstOrDefault();
LoggerUtils.Debug("[Tpn] 初始化 Tpn 广告 SDK appid:" + topon_app_id + " appkey:" + topon_app_key + " ivId:" + topon_interstitial_units + " rvId:" + topon_rewarded_units);
if (!string.IsNullOrEmpty(topon_app_id) && !string.IsNullOrEmpty(topon_app_key))
{ {
ATSDKAPI.initSDK(_topon_app_id, _topon_app_key); ATSDKAPI.initSDK(topon_app_id, topon_app_key);
ATSDKAPI.setLogDebug(false); ATSDKAPI.setLogDebug(false);
// ATSDKAPI.showDebuggerUI(); // ATSDKAPI.showDebuggerUI();
InitRewarded(); InitRewarded();
@ -37,24 +40,17 @@ namespace WZ
} }
} }
public void RefreshAdsData()
{
_topon_app_id = AdConfigParser.GetTopOnAppId();
_topon_app_key = AdConfigParser.GetTopOnAppKey();
_topon_interstitial_units = AdConfigParser.GetTopOnAdUnits(AdsType.Interstitial).FirstOrDefault();
_topon_rewarded_units = AdConfigParser.GetTopOnAdUnits(AdsType.Rewarded).FirstOrDefault();
}
#region 广 #region 广
private void InitRewarded() private void InitRewarded()
{ {
if (string.IsNullOrEmpty(_topon_rewarded_units)) return; if (string.IsNullOrEmpty(topon_rewarded_units)) return;
ATRewardedAutoVideo.Instance.client.onAdLoadEvent += OnAdLoadedEvent; ATRewardedAutoVideo.Instance.client.onAdLoadEvent += OnAdLoadedEvent;
ATRewardedAutoVideo.Instance.client.onAdLoadFailureEvent += OnAdLoadedFailEvent; ATRewardedAutoVideo.Instance.client.onAdLoadFailureEvent += OnAdLoadedFailEvent;
ATRewardedAutoVideo.Instance.client.onAdVideoCloseEvent += OnAdVideoClosedEvent; ATRewardedAutoVideo.Instance.client.onAdVideoCloseEvent += OnAdVideoClosedEvent;
ATRewardedAutoVideo.Instance.client.onAdVideoStartEvent += OnAdVideoStartEvent; ATRewardedAutoVideo.Instance.client.onAdVideoStartEvent += OnAdVideoStartEvent;
ATRewardedAutoVideo.Instance.client.onAdVideoFailureEvent += OnAdVideoFailureEvent; ATRewardedAutoVideo.Instance.client.onAdVideoFailureEvent += OnAdVideoFailureEvent;
ATRewardedAutoVideo.Instance.client.onAdClickEvent += OnAdVideoClickedEvent; ATRewardedAutoVideo.Instance.client.onAdClickEvent += OnAdVideoClickedEvent;
ATRewardedAutoVideo.Instance.addAutoLoadAdPlacementID(new string[] { _topon_rewarded_units }); ATRewardedAutoVideo.Instance.addAutoLoadAdPlacementID(new string[] { topon_rewarded_units });
AdsActionEvents.TrackAdStartLoad(Platfrom,"","",AdsType.Rewarded); AdsActionEvents.TrackAdStartLoad(Platfrom,"","",AdsType.Rewarded);
@ -65,14 +61,14 @@ namespace WZ
_rvPos = adPos; _rvPos = adPos;
_rvCloseCallback = rewardCallback; _rvCloseCallback = rewardCallback;
_rvShowFailedCallback = showFailedCallback; _rvShowFailedCallback = showFailedCallback;
ATRewardedAutoVideo.Instance.showAutoAd(_topon_rewarded_units); ATRewardedAutoVideo.Instance.showAutoAd(topon_rewarded_units);
} }
public double GetRewardedRevenue() { return 0; } public double GetRewardedRevenue() { return 0; }
public bool IsRewardedAvailable() public bool IsRewardedAvailable()
{ {
return string.IsNullOrEmpty(_topon_rewarded_units) ? false : ATRewardedAutoVideo.Instance.autoLoadRewardedVideoReadyForPlacementID(_topon_rewarded_units); return string.IsNullOrEmpty(topon_rewarded_units) ? false : ATRewardedAutoVideo.Instance.autoLoadRewardedVideoReadyForPlacementID(topon_rewarded_units);
} }
#endregion #endregion
@ -80,14 +76,14 @@ namespace WZ
#region 广 #region 广
private void InitInterstitial() private void InitInterstitial()
{ {
if (string.IsNullOrEmpty(_topon_interstitial_units)) return; if (string.IsNullOrEmpty(topon_interstitial_units)) return;
ATInterstitialAutoAd.Instance.client.onAdLoadEvent += OnAdLoadedEvent; ATInterstitialAutoAd.Instance.client.onAdLoadEvent += OnAdLoadedEvent;
ATInterstitialAutoAd.Instance.client.onAdLoadFailureEvent += OnAdLoadedFailEvent; ATInterstitialAutoAd.Instance.client.onAdLoadFailureEvent += OnAdLoadedFailEvent;
ATInterstitialAutoAd.Instance.client.onAdCloseEvent += OnAdVideoClosedEvent; ATInterstitialAutoAd.Instance.client.onAdCloseEvent += OnAdVideoClosedEvent;
ATInterstitialAutoAd.Instance.client.onAdShowEvent += OnAdVideoStartEvent; ATInterstitialAutoAd.Instance.client.onAdShowEvent += OnAdVideoStartEvent;
ATInterstitialAutoAd.Instance.client.onAdShowFailureEvent += OnAdVideoFailureEvent; ATInterstitialAutoAd.Instance.client.onAdShowFailureEvent += OnAdVideoFailureEvent;
ATInterstitialAutoAd.Instance.client.onAdClickEvent += OnAdVideoClickedEvent; ATInterstitialAutoAd.Instance.client.onAdClickEvent += OnAdVideoClickedEvent;
ATInterstitialAutoAd.Instance.addAutoLoadAdPlacementID(new string[] { _topon_interstitial_units }); ATInterstitialAutoAd.Instance.addAutoLoadAdPlacementID(new string[] { topon_interstitial_units });
AdsActionEvents.TrackAdStartLoad(Platfrom,"","",AdsType.Interstitial); AdsActionEvents.TrackAdStartLoad(Platfrom,"","",AdsType.Interstitial);
} }
@ -98,12 +94,12 @@ namespace WZ
{ {
_ivPos = ivPos; _ivPos = ivPos;
_ivCloseCallback = closeCallback; _ivCloseCallback = closeCallback;
ATInterstitialAutoAd.Instance.showAutoAd(_topon_interstitial_units); ATInterstitialAutoAd.Instance.showAutoAd(topon_interstitial_units);
} }
public bool IsInterstitialAvailable() public bool IsInterstitialAvailable()
{ {
return string.IsNullOrEmpty(_topon_interstitial_units) ? false : ATInterstitialAutoAd.Instance.autoLoadInterstitialAdReadyForPlacementID(_topon_interstitial_units); return string.IsNullOrEmpty(topon_interstitial_units) ? false : ATInterstitialAutoAd.Instance.autoLoadInterstitialAdReadyForPlacementID(topon_interstitial_units);
} }
#endregion #endregion
@ -113,15 +109,15 @@ namespace WZ
AdsActionEvents.TrackAdLoaded(Platfrom, AdsActionEvents.TrackAdLoaded(Platfrom,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
0); 0);
if (erg.placementId.Equals(_topon_interstitial_units)) if (erg.placementId.Equals(topon_interstitial_units))
{ {
LoggerUtils.Debug("[Tpn] ads tpn topon interstitial loaded"); LoggerUtils.Debug("[Tpn] ads tpn topon interstitial loaded");
AdsKeyEvents.Instance.LogAdFPUEvents(AdsType.Interstitial); AdsKeyEvents.Instance.LogAdFPUEvents(AdsType.Interstitial);
} }
else if (erg.placementId.Equals(_topon_rewarded_units)) else if (erg.placementId.Equals(topon_rewarded_units))
{ {
LoggerUtils.Debug("[Tpn] ads tpn topon rewarded loaded"); LoggerUtils.Debug("[Tpn] ads tpn topon rewarded loaded");
AdsKeyEvents.Instance.LogAdFPUEvents(AdsType.Rewarded); AdsKeyEvents.Instance.LogAdFPUEvents(AdsType.Rewarded);
@ -134,7 +130,7 @@ namespace WZ
AdsActionEvents.TrackAdFailToLoad(Platfrom, AdsActionEvents.TrackAdFailToLoad(Platfrom,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
0, 0,
erg.errorMessage); erg.errorMessage);
} }
@ -147,11 +143,11 @@ namespace WZ
ThreadUtils.QueueOnMainThread(pObj => ThreadUtils.QueueOnMainThread(pObj =>
{ {
if (erg.placementId.Equals(_topon_rewarded_units)) if (erg.placementId.Equals(topon_rewarded_units))
{ {
} }
else if (erg.placementId.Equals(_topon_interstitial_units)) else if (erg.placementId.Equals(topon_interstitial_units))
{ {
} }
@ -163,18 +159,18 @@ namespace WZ
LoggerUtils.Debug("[Tpn] 广告播放失败" + JsonMapper.ToJson(erg.callbackInfo.toDictionary())); LoggerUtils.Debug("[Tpn] 广告播放失败" + JsonMapper.ToJson(erg.callbackInfo.toDictionary()));
AdsActionEvents.TrackAdFailToShow(Platfrom, AdsActionEvents.TrackAdFailToShow(Platfrom,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
erg.errorMessage, erg.errorMessage,
erg.placementId.Equals(_topon_rewarded_units) ? _rvPos : ""); erg.placementId.Equals(topon_rewarded_units) ? _rvPos : "");
ThreadUtils.QueueOnMainThread(pObj => ThreadUtils.QueueOnMainThread(pObj =>
{ {
if (erg.placementId.Equals(_topon_rewarded_units)) if (erg.placementId.Equals(topon_rewarded_units))
{ {
_rvShowFailedCallback?.Invoke(); _rvShowFailedCallback?.Invoke();
_rvShowFailedCallback = null; _rvShowFailedCallback = null;
} }
else if (erg.placementId.Equals(_topon_interstitial_units)) else if (erg.placementId.Equals(topon_interstitial_units))
{ {
_ivCloseCallback?.Invoke(); _ivCloseCallback?.Invoke();
_ivCloseCallback = null; _ivCloseCallback = null;
@ -190,18 +186,18 @@ namespace WZ
AdsActionEvents.TrackAdClosed(Platfrom, AdsActionEvents.TrackAdClosed(Platfrom,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
erg.placementId.Equals(_topon_rewarded_units) ? _rvPos : "", erg.placementId.Equals(topon_rewarded_units) ? _rvPos : "",
erg.callbackInfo.publisher_revenue); erg.callbackInfo.publisher_revenue);
ThreadUtils.QueueOnMainThread(pObj => ThreadUtils.QueueOnMainThread(pObj =>
{ {
if (erg.placementId.Equals(_topon_rewarded_units)) if (erg.placementId.Equals(topon_rewarded_units))
{ {
_rvCloseCallback?.Invoke(true); _rvCloseCallback?.Invoke(true);
_rvCloseCallback = null; _rvCloseCallback = null;
} }
else if (erg.placementId.Equals(_topon_interstitial_units)) else if (erg.placementId.Equals(topon_interstitial_units))
{ {
_ivCloseCallback?.Invoke(); _ivCloseCallback?.Invoke();
_ivCloseCallback = null; _ivCloseCallback = null;
@ -216,17 +212,17 @@ namespace WZ
AdsActionEvents.TrackAdClicked(Platfrom, AdsActionEvents.TrackAdClicked(Platfrom,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
erg.placementId.Equals(_topon_rewarded_units) ? _rvPos : "", erg.placementId.Equals(topon_rewarded_units) ? _rvPos : "",
erg.callbackInfo.publisher_revenue); erg.callbackInfo.publisher_revenue);
ThreadUtils.QueueOnMainThread(pObj => ThreadUtils.QueueOnMainThread(pObj =>
{ {
if (erg.placementId.Equals(_topon_rewarded_units)) if (erg.placementId.Equals(topon_rewarded_units))
{ {
} }
else if (erg.placementId.Equals(_topon_interstitial_units)) else if (erg.placementId.Equals(topon_interstitial_units))
{ {
} }
@ -271,24 +267,24 @@ namespace WZ
FireBaseAnalyticsManager.Instance.OnAdRevenueEvent(ClientName, FireBaseAnalyticsManager.Instance.OnAdRevenueEvent(ClientName,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
erg.callbackInfo.publisher_revenue, erg.callbackInfo.publisher_revenue,
erg.placementId.Equals(_topon_rewarded_units) ? _rvPos : "", erg.placementId.Equals(topon_rewarded_units) ? _rvPos : "",
AdPlayCountManager.GetAdPlayCount(erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial)); AdPlayCountManager.GetAdPlayCount(erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial));
ShuShuEvent.Instance.OnAdRevenueEvent(ClientName, ShuShuEvent.Instance.OnAdRevenueEvent(ClientName,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded.ToString() : AdsType.Interstitial.ToString(), erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded.ToString() : AdsType.Interstitial.ToString(),
erg.callbackInfo.publisher_revenue, erg.callbackInfo.publisher_revenue,
erg.placementId.Equals(_topon_rewarded_units) ? _rvPos : "", erg.placementId.Equals(topon_rewarded_units) ? _rvPos : "",
AdPlayCountManager.GetAdPlayCount(erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial)); AdPlayCountManager.GetAdPlayCount(erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial));
AdsActionEvents.TrackAdImpression(Platfrom, AdsActionEvents.TrackAdImpression(Platfrom,
ClientName + "_" + erg.callbackInfo.network_firm_id, ClientName + "_" + erg.callbackInfo.network_firm_id,
erg.callbackInfo.adunit_id, erg.callbackInfo.adunit_id,
erg.placementId.Equals(_topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial, erg.placementId.Equals(topon_rewarded_units) ? AdsType.Rewarded : AdsType.Interstitial,
erg.placementId.Equals(_topon_rewarded_units) ? _rvPos : "", erg.placementId.Equals(topon_rewarded_units) ? _rvPos : "",
erg.callbackInfo.publisher_revenue); erg.callbackInfo.publisher_revenue);
} }
#endregion #endregion

View File

@ -44,18 +44,7 @@ namespace WZ
/// </summary> /// </summary>
public static List<string> GetAdmobAdUnits(AdsType adType) public static List<string> GetAdmobAdUnits(AdsType adType)
{ {
if (_config == null) if (_config == null) return new List<string>();
{
return adType switch
{
AdsType.Banner => new List<string> { StaticValue.AdmobNormalBannerId },
AdsType.Rewarded => new List<string> { StaticValue.AdmobRewardId },
AdsType.Native => new List<string> { StaticValue.AdmobNativeId },
AdsType.Splash => new List<string> { StaticValue.AdmobSplashId },
AdsType.Interstitial => new List<string> { StaticValue.AdmobInterId },
_ => new List<string>()
};
}
return adType switch return adType switch
{ {
@ -73,15 +62,7 @@ namespace WZ
/// </summary> /// </summary>
public static List<string> GetTopOnAdUnits(AdsType adType) public static List<string> GetTopOnAdUnits(AdsType adType)
{ {
if (_config == null) if (_config == null) return new List<string>();
{
return adType switch
{
AdsType.Interstitial => new List<string> { StaticValue.TopOnInterAdUnitID },
AdsType.Rewarded => new List<string> { StaticValue.TopOnRewardAdUnitID },
_ => new List<string>()
};
}
return adType switch return adType switch
{ {
@ -99,16 +80,7 @@ namespace WZ
/// </summary> /// </summary>
public static List<string> GetMaxAdUnits(AdsType adType) public static List<string> GetMaxAdUnits(AdsType adType)
{ {
if (_config == null) if (_config == null) return new List<string>();
{
return adType switch
{
AdsType.Interstitial => new List<string> { StaticValue.InterAdUnitID },
AdsType.Rewarded => new List<string> { StaticValue.RewardAdUnitID },
_ => new List<string>()
};
}
return adType switch return adType switch
{ {
@ -119,7 +91,6 @@ namespace WZ
AdsType.Native => _config.max_native_units ?? new List<string>(), AdsType.Native => _config.max_native_units ?? new List<string>(),
_ => new List<string>() _ => new List<string>()
}; };
} }
/// <summary> /// <summary>
@ -157,7 +128,6 @@ namespace WZ
/// </summary> /// </summary>
public static string GetTopOnAppId() public static string GetTopOnAppId()
{ {
if (_config == null) return StaticValue.TopOnAppID;
return _config?.topon_app_id; return _config?.topon_app_id;
} }
@ -166,7 +136,6 @@ namespace WZ
/// </summary> /// </summary>
public static string GetTopOnAppKey() public static string GetTopOnAppKey()
{ {
if (_config == null) return StaticValue.TopOnAppKey;
return _config?.topon_app_key; return _config?.topon_app_key;
} }
@ -175,7 +144,6 @@ namespace WZ
/// </summary> /// </summary>
public static string GetMaxAppKey() public static string GetMaxAppKey()
{ {
if (_config == null) return StaticValue.ApplovinKey;
return _config?.max_app_key; return _config?.max_app_key;
} }

View File

@ -7,12 +7,9 @@ using WZ;
public class Test : MonoBehaviour public class Test : MonoBehaviour
{ {
private List<string> _rewardedAdUnits = new List<string>();
public void OnShowAd() public void OnShowAd()
{ {
AppSDKManager.Instance.Init(null); KwaiAdsManager.Instance.ShowRewardAd();
// KwaiAdsManager.Instance.ShowRewardAd();
} }
public void OnShowInterstitial() public void OnShowInterstitial()