先初始化admob开屏

This commit is contained in:
juncong lee 2025-09-01 20:53:08 +08:00
parent dd4d2c09ae
commit 00b79b23c6
12 changed files with 924 additions and 906 deletions

View File

@ -1,22 +1,12 @@
%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: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224770140206732756} - component: {fileID: 224770140206732756}
- component: {fileID: 222623742081011482} - component: {fileID: 222623742081011482}
@ -29,12 +19,115 @@ 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_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224349703481187764} - component: {fileID: 224349703481187764}
- component: {fileID: 223920107105332924} - component: {fileID: 223920107105332924}
@ -47,12 +140,97 @@ 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_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224188954884660388} - component: {fileID: 224188954884660388}
- component: {fileID: 222991998422378294} - component: {fileID: 222991998422378294}
@ -64,12 +242,70 @@ 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: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224688741740444772} - component: {fileID: 224688741740444772}
- component: {fileID: 222698607200636900} - component: {fileID: 222698607200636900}
@ -81,43 +317,53 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!1 &1919592978971710 --- !u!224 &224688741740444772
GameObject: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
m_Component: m_GameObject: {fileID: 1519554490061234}
- component: {fileID: 224247655386807502} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- component: {fileID: 222996861862976686} m_LocalPosition: {x: 0, y: 0, z: 0}
- component: {fileID: 114508546300043044} m_LocalScale: {x: 1, y: 1, z: 1}
- component: {fileID: 114645982259750808} m_ConstrainProportionsScale: 0
m_Layer: 5 m_Children: []
m_Name: Ad m_Father: {fileID: 224770140206732756}
m_TagString: Untagged m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Icon: {fileID: 0} m_AnchorMin: {x: 0, y: 0}
m_NavMeshLayer: 0 m_AnchorMax: {x: 1, y: 1}
m_StaticEditorFlags: 0 m_AnchoredPosition: {x: 9.1, y: -5.6}
m_IsActive: 1 m_SizeDelta: {x: 18.2, y: 11.2}
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: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
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: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, 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
@ -132,120 +378,73 @@ MonoBehaviour:
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: Close Ad m_Text: Close Ad
--- !u!114 &114214230567826922 --- !u!1 &1919592978971710
MonoBehaviour: GameObject:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_GameObject: {fileID: 1026234277025590} m_PrefabAsset: {fileID: 0}
m_Enabled: 1 serializedVersion: 6
m_EditorHideFlags: 0 m_Component:
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} - component: {fileID: 224247655386807502}
m_Name: - component: {fileID: 222996861862976686}
m_EditorClassIdentifier: - component: {fileID: 114508546300043044}
m_Navigation: - component: {fileID: 114645982259750808}
m_Mode: 3 m_Layer: 5
m_SelectOnUp: {fileID: 0} m_Name: Ad
m_SelectOnDown: {fileID: 0} m_TagString: Untagged
m_SelectOnLeft: {fileID: 0} m_Icon: {fileID: 0}
m_SelectOnRight: {fileID: 0} m_NavMeshLayer: 0
m_Transition: 1 m_StaticEditorFlags: 0
m_Colors: m_IsActive: 1
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} --- !u!224 &224247655386807502
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} RectTransform:
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_ObjectHideFlags: 0
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} m_CorrespondingSourceObject: {fileID: 0}
m_ColorMultiplier: 1 m_PrefabInstance: {fileID: 0}
m_FadeDuration: 0.1 m_PrefabAsset: {fileID: 0}
m_SpriteState: m_GameObject: {fileID: 1919592978971710}
m_HighlightedSprite: {fileID: 0} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_PressedSprite: {fileID: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_DisabledSprite: {fileID: 0} m_LocalScale: {x: 1, y: 1, z: 1}
m_AnimationTriggers: m_ConstrainProportionsScale: 0
m_NormalTrigger: Normal m_Children:
m_HighlightedTrigger: Highlighted - {fileID: 224770140206732756}
m_PressedTrigger: Pressed m_Father: {fileID: 224349703481187764}
m_DisabledTrigger: Disabled m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Interactable: 1 m_AnchorMin: {x: 0.5, y: 0.5}
m_TargetGraphic: {fileID: 114466248550890148} m_AnchorMax: {x: 0.5, y: 0.5}
m_OnClick: m_AnchoredPosition: {x: 0, y: 0}
m_PersistentCalls: m_SizeDelta: {x: 1436, y: 2000}
m_Calls: [] m_Pivot: {x: 0.5, y: 0.5}
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, --- !u!222 &222996861862976686
Culture=neutral, PublicKeyToken=null CanvasRenderer:
--- !u!114 &114288914574884706 m_ObjectHideFlags: 0
MonoBehaviour: m_CorrespondingSourceObject: {fileID: 0}
m_ObjectHideFlags: 1 m_PrefabInstance: {fileID: 0}
m_PrefabParentObject: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1919592978971710}
m_GameObject: {fileID: 1455544211993956} m_CullTransparentMesh: 1
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 --- !u!114 &114508546300043044
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1919592978971710} m_GameObject: {fileID: 1919592978971710}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, 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_Sprite: {fileID: 21300000, guid: 8a53f9c63a5e94b14a98698a7b07365b, type: 3} m_Sprite: {fileID: 21300000, guid: 8a53f9c63a5e94b14a98698a7b07365b, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
@ -254,40 +453,23 @@ MonoBehaviour:
m_FillAmount: 1 m_FillAmount: 1
m_FillClockwise: 1 m_FillClockwise: 1
m_FillOrigin: 0 m_FillOrigin: 0
--- !u!114 &114572656286436090 m_UseSpriteMesh: 0
MonoBehaviour: m_PixelsPerUnitMultiplier: 1
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 --- !u!114 &114645982259750808
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1919592978971710} m_GameObject: {fileID: 1919592978971710}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, 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}
@ -297,176 +479,23 @@ 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,22 +1,12 @@
%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: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 224859375040150520} - component: {fileID: 224859375040150520}
- component: {fileID: 222539723179981582} - component: {fileID: 222539723179981582}
@ -28,278 +18,53 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!1 &1440340526681520 --- !u!224 &224859375040150520
GameObject: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
m_Component: m_GameObject: {fileID: 1145201493799244}
- component: {fileID: 224646837243202000} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- component: {fileID: 222062092593612000} m_LocalPosition: {x: 0, y: 0, z: 0}
- component: {fileID: 114435428706387640} m_LocalScale: {x: 1, y: 1, z: 1}
- component: {fileID: 114820238492461956} m_ConstrainProportionsScale: 0
m_Layer: 5 m_Children: []
m_Name: Ad m_Father: {fileID: 224646837243202000}
m_TagString: Untagged m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Icon: {fileID: 0} m_AnchorMin: {x: 0, y: 1}
m_NavMeshLayer: 0 m_AnchorMax: {x: 0, y: 1}
m_StaticEditorFlags: 0 m_AnchoredPosition: {x: 237.9, y: -43.363}
m_IsActive: 1 m_SizeDelta: {x: 432.3, y: 53.775}
--- !u!1 &1632466019560500 m_Pivot: {x: 0.5, y: 0.5}
GameObject: --- !u!222 &222539723179981582
CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
serializedVersion: 5 m_PrefabAsset: {fileID: 0}
m_Component: m_GameObject: {fileID: 1145201493799244}
- component: {fileID: 224858207565310680} m_CullTransparentMesh: 1
- component: {fileID: 223253263155428692}
- component: {fileID: 114432944070235470}
- component: {fileID: 114257052656689914}
m_Layer: 5
m_Name: 768x1024
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1641665161670648
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_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
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!114 &114197769342207226
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
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_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!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_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 1440, y: 2960}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0.495
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!114 &114435428706387640
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: -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 &114514696656541846
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1641665161670648}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 40
m_FontStyle: 1
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Close Ad
--- !u!114 &114638760954846786
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: 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: 114777983548721902}
m_OnClick:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &114644123904461240 --- !u!114 &114644123904461240
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1145201493799244} m_GameObject: {fileID: 1145201493799244}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, 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
@ -314,46 +79,99 @@ MonoBehaviour:
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: 5 second(s) remaining m_Text: 5 second(s) remaining
--- !u!114 &114777983548721902 --- !u!1 &1440340526681520
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 224646837243202000}
- component: {fileID: 222062092593612000}
- component: {fileID: 114435428706387640}
- component: {fileID: 114820238492461956}
m_Layer: 5
m_Name: Ad
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
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: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_GameObject: {fileID: 1652198827308984} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440340526681520}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, 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, m_Sprite: {fileID: 21300000, guid: 8a53f9c63a5e94b14a98698a7b07365b, type: 3}
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_Type: 0
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
m_PixelsPerUnitMultiplier: 1
--- !u!114 &114820238492461956 --- !u!114 &114820238492461956
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440340526681520} m_GameObject: {fileID: 1440340526681520}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, 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}
@ -363,60 +181,72 @@ 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: 114435428706387640} m_TargetGraphic: {fileID: 114435428706387640}
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, --- !u!1 &1632466019560500
Culture=neutral, PublicKeyToken=null GameObject:
--- !u!222 &222062092593612000 m_ObjectHideFlags: 0
CanvasRenderer: m_CorrespondingSourceObject: {fileID: 0}
m_ObjectHideFlags: 1 m_PrefabInstance: {fileID: 0}
m_PrefabParentObject: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} serializedVersion: 6
m_GameObject: {fileID: 1440340526681520} m_Component:
--- !u!222 &222229915290430514 - component: {fileID: 224858207565310680}
CanvasRenderer: - component: {fileID: 223253263155428692}
m_ObjectHideFlags: 1 - component: {fileID: 114432944070235470}
m_PrefabParentObject: {fileID: 0} - component: {fileID: 114257052656689914}
m_PrefabInternal: {fileID: 100100000} m_Layer: 5
m_GameObject: {fileID: 1652198827308984} m_Name: 768x1024
--- !u!222 &222246365610716666 m_TagString: Untagged
CanvasRenderer: m_Icon: {fileID: 0}
m_ObjectHideFlags: 1 m_NavMeshLayer: 0
m_PrefabParentObject: {fileID: 0} m_StaticEditorFlags: 0
m_PrefabInternal: {fileID: 100100000} m_IsActive: 1
m_GameObject: {fileID: 1641665161670648} --- !u!224 &224858207565310680
--- !u!222 &222431000284531562 RectTransform:
CanvasRenderer: 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_GameObject: {fileID: 1632466019560500}
--- !u!222 &222539723179981582 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
CanvasRenderer: m_LocalPosition: {x: 0, y: 0, z: 0}
m_ObjectHideFlags: 1 m_LocalScale: {x: 0, y: 0, z: 0}
m_PrefabParentObject: {fileID: 0} m_ConstrainProportionsScale: 0
m_PrefabInternal: {fileID: 100100000} m_Children:
m_GameObject: {fileID: 1145201493799244} - {fileID: 224102788109289026}
- {fileID: 224646837243202000}
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 &223253263155428692 --- !u!223 &223253263155428692
Canvas: Canvas:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1632466019560500} m_GameObject: {fileID: 1632466019560500}
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
@ -428,120 +258,324 @@ Canvas:
m_OverrideSorting: 0 m_OverrideSorting: 0
m_OverridePixelPerfect: 0 m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0 m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0 m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0 m_SortingLayerID: 0
m_SortingOrder: 0 m_SortingOrder: 32767
m_TargetDisplay: 0 m_TargetDisplay: 0
--- !u!224 &224102788109289026 --- !u!114 &114432944070235470
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1632466019560500}
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: 0
m_MatchWidthOrHeight: 0.495
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!114 &114257052656689914
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1632466019560500}
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 &1641665161670648
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
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!224 &224559117849289246
RectTransform: RectTransform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_GameObject: {fileID: 1728821091649996} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1641665161670648}
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: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 224858207565310680} m_Father: {fileID: 224172518945175052}
m_RootOrder: 0
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: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} 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
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1641665161670648}
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: 2
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
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 --- !u!224 &224172518945175052
RectTransform: RectTransform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1652198827308984} m_GameObject: {fileID: 1652198827308984}
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: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 224559117849289246} - {fileID: 224559117849289246}
m_Father: {fileID: 224646837243202000} m_Father: {fileID: 224646837243202000}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 149.4, y: -35.1} m_AnchoredPosition: {x: 149.4, y: -35.1}
m_SizeDelta: {x: 298.7, y: 70.3} m_SizeDelta: {x: 298.7, y: 70.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224559117849289246 --- !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
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: 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: 114777983548721902}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &1728821091649996
GameObject:
m_ObjectHideFlags: 0
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: RectTransform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_GameObject: {fileID: 1641665161670648} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1728821091649996}
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: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 224172518945175052} m_Father: {fileID: 224858207565310680}
m_RootOrder: 0
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: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224646837243202000 --- !u!222 &222431000284531562
RectTransform: CanvasRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInstance: {fileID: 0}
m_GameObject: {fileID: 1440340526681520} m_PrefabAsset: {fileID: 0}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_GameObject: {fileID: 1728821091649996}
m_LocalPosition: {x: 0, y: 0, z: 0} m_CullTransparentMesh: 1
m_LocalScale: {x: 1, y: 1, z: 1} --- !u!114 &114197769342207226
m_Children: MonoBehaviour:
- {fileID: 224172518945175052} m_ObjectHideFlags: 0
- {fileID: 224859375040150520} m_CorrespondingSourceObject: {fileID: 0}
m_Father: {fileID: 224858207565310680} m_PrefabInstance: {fileID: 0}
m_RootOrder: 1 m_PrefabAsset: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_GameObject: {fileID: 1728821091649996}
m_AnchorMin: {x: 0.5, y: 0.5} m_Enabled: 1
m_AnchorMax: {x: 0.5, y: 0.5} m_EditorHideFlags: 0
m_AnchoredPosition: {x: 0, y: 0} m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_SizeDelta: {x: 1436, y: 2000} m_Name:
m_Pivot: {x: 0.5, y: 0.5} m_EditorClassIdentifier:
--- !u!224 &224858207565310680 m_Material: {fileID: 0}
RectTransform: m_Color: {r: 0, g: 0, b: 0, a: 0.80784315}
m_ObjectHideFlags: 1 m_RaycastTarget: 1
m_PrefabParentObject: {fileID: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_PrefabInternal: {fileID: 100100000} m_Maskable: 1
m_GameObject: {fileID: 1632466019560500} m_OnCullStateChanged:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_PersistentCalls:
m_LocalPosition: {x: 0, y: 0, z: 0} m_Calls: []
m_LocalScale: {x: 0, y: 0, z: 0} m_Sprite: {fileID: 0}
m_Children: m_Type: 0
- {fileID: 224102788109289026} m_PreserveAspect: 0
- {fileID: 224646837243202000} m_FillCenter: 1
m_Father: {fileID: 0} m_FillMethod: 4
m_RootOrder: 0 m_FillAmount: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_FillClockwise: 1
m_AnchorMin: {x: 0, y: 0} m_FillOrigin: 0
m_AnchorMax: {x: 0, y: 0} m_UseSpriteMesh: 0
m_AnchoredPosition: {x: 0, y: 0} m_PixelsPerUnitMultiplier: 1
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: 9 serializedVersion: 10
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,9 +66,6 @@ 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
@ -376,44 +373,6 @@ 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
@ -926,7 +885,6 @@ 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
@ -949,18 +907,6 @@ 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,4 +1,5 @@
using System; using System;
using UnityEditor.Media;
namespace WZ namespace WZ
{ {
@ -14,6 +15,8 @@ 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; private bool _initialized = false;
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,21 +36,27 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
if (_initialized) return;
MobileAds.RaiseAdEventsOnUnityMainThread = true; MobileAds.RaiseAdEventsOnUnityMainThread = true;
_bannerAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Banner);
_interstitialAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Interstitial);
_nativeAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Native);
_splashAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Splash);
_rewardedAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Rewarded);
MobileAds.Initialize(initStatus => MobileAds.Initialize(initStatus =>
{ {
if (_bannerAdUnits.Count > 0) LoadBanner(); if (_bannerAdUnits.Count > 0) LoadBanner();
if (_interstitialAdUnits.Count > 0) LoadInterstitial(); if (_interstitialAdUnits.Count > 0) LoadInterstitial();
if (_rewardedAdUnits.Count > 0) LoadRewarded(); if (_rewardedAdUnits.Count > 0) LoadRewarded();
AdsSplashManager.Instance.InitSplash();
_initialized = true; _initialized = true;
LoggerUtils.Debug("[Admob] init success"); LoggerUtils.Debug("[Admob] init success");
}); });
}
public void RefreshAdsData()
{
_bannerAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Banner);
_interstitialAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Interstitial);
_nativeAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Native);
_splashAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Splash);
_rewardedAdUnits = AdConfigParser.GetAdmobAdUnits(AdsType.Rewarded);
} }
#region 广 #region 广
@ -86,7 +92,7 @@ namespace WZ
public bool IsRewardedAvailable() public bool IsRewardedAvailable()
{ {
if (!_initialized) return false; if (!_initialized || _rewardedAdUnits.Count == 0) return false;
return _admobRewardedAdManager.GetAvailableAdUnits().Count > 0; return _admobRewardedAdManager.GetAvailableAdUnits().Count > 0;
} }
@ -164,8 +170,7 @@ 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,27 +7,11 @@ 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,10 +28,8 @@ 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");
@ -41,12 +39,19 @@ 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,10 +29,8 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
max_app_key = AdConfigParser.GetMaxAppKey();
max_interstitial_units = AdConfigParser.GetMaxAdUnits(AdsType.Interstitial).FirstOrDefault(); if (string.IsNullOrEmpty(_max_app_key)) return;
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);
@ -46,16 +44,23 @@ 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;
@ -67,8 +72,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;
} }
@ -77,7 +82,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()
@ -94,7 +99,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)
@ -158,7 +163,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;
@ -170,8 +175,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;
} }
@ -191,12 +196,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,14 +25,11 @@ namespace WZ
public void Initialize() public void Initialize()
{ {
topon_app_id = AdConfigParser.GetTopOnAppId();
topon_app_key = AdConfigParser.GetTopOnAppKey(); LoggerUtils.Debug("[Tpn] 初始化 Tpn 广告 SDK appid:" + _topon_app_id + " appkey:" + _topon_app_key + " ivId:" + _topon_interstitial_units + " rvId:" + _topon_rewarded_units);
topon_interstitial_units = AdConfigParser.GetTopOnAdUnits(AdsType.Interstitial).FirstOrDefault(); if (!string.IsNullOrEmpty(_topon_app_id) && !string.IsNullOrEmpty(_topon_app_key))
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();
@ -40,17 +37,24 @@ 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);
@ -61,14 +65,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
@ -76,14 +80,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);
} }
@ -94,12 +98,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
@ -109,15 +113,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);
@ -130,7 +134,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);
} }
@ -143,11 +147,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))
{ {
} }
@ -159,18 +163,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;
@ -186,18 +190,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;
@ -212,17 +216,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))
{ {
} }
@ -267,24 +271,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

@ -7,28 +7,28 @@ using Newtonsoft.Json;
using UnityEngine; using UnityEngine;
using WZ; using WZ;
public class AppSDKManager : MonoBehaviour public class AppSDKManager : D_MonoSingleton<AppSDKManager>
{ {
public static AppSDKManager Instance;
//包名 //包名
public const string PackageName = "com.rush.cash.earn.fast.real.money.game"; public const string PackageName = "com.rush.cash.earn.fast.real.money.game";
private void Awake() private void Awake()
{ {
Instance = this;
// 解析配置文件 // 解析配置文件
FileParse.Parse();
FireBaseSDKManager.Instance.Init();
AdjustManager.Instance.Init();
ShuShuMangage.Instance.Init();
EFSdkManager.Instance.Init();
} }
public void Init(Action action) public void Init(Action action)
{ {
FileParse.Parse();
FireBaseSDKManager.Instance.Init();
AdjustManager.Instance.Init();
ShuShuMangage.Instance.Init();
EFSdkManager.Instance.Init();
AdsSDKManager.Instance.InitSDK(action); AdsSDKManager.Instance.InitSDK(action);
} }
/// <summary> /// <summary>

View File

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