Removed ironsource
parent
f627141036
commit
124d5d52af
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 60f0641b193bf7b48a2d6c914bc7192d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c658504690596404888aed1e9c257c84
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,546 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 9
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 11
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 1
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 10
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherFiltering: 1
|
||||
m_FinalGatherRayCount: 256
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ShowResolutionOverlay: 1
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_UseShadowmask: 1
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 2
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
accuratePlacement: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &144620207
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 144620210}
|
||||
- component: {fileID: 144620209}
|
||||
- component: {fileID: 144620208}
|
||||
- component: {fileID: 144620211}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &144620208
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 144620207}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &144620209
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 144620207}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 2
|
||||
m_BackGroundColor: {r: 0.9487362, g: 0.9613346, b: 0.9811321, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_GateFitMode: 2
|
||||
m_FocalLength: 50
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &144620210
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 144620207}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1974370200}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &144620211
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 144620207}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 191f5798a75bd42589f98898505e981f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &484534187
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 484534191}
|
||||
- component: {fileID: 484534190}
|
||||
- component: {fileID: 484534189}
|
||||
- component: {fileID: 484534188}
|
||||
m_Layer: 5
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &484534188
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 484534187}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &484534189
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 484534187}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!223 &484534190
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 484534187}
|
||||
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 &484534191
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 484534187}
|
||||
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: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!1 &498045477
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 498045479}
|
||||
- component: {fileID: 498045478}
|
||||
m_Layer: 0
|
||||
m_Name: Directional Light
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!108 &498045478
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 498045477}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 8
|
||||
m_Type: 1
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 2
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_Lightmapping: 4
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
--- !u!4 &498045479
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 498045477}
|
||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!1 &910476656
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 910476659}
|
||||
- component: {fileID: 910476658}
|
||||
- component: {fileID: 910476657}
|
||||
m_Layer: 0
|
||||
m_Name: EventSystem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &910476657
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 910476656}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &910476658
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 910476656}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &910476659
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 910476656}
|
||||
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: 0}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1488306033
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1488306034}
|
||||
- component: {fileID: 1488306036}
|
||||
- component: {fileID: 1488306035}
|
||||
m_Layer: 5
|
||||
m_Name: RawImage
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1488306034
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1488306033}
|
||||
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: 1974370200}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -117}
|
||||
m_SizeDelta: {x: 500, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1488306035
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1488306033}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -98529514, 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_Texture: {fileID: 2800000, guid: 5e326581693fd4e0db4c590543c3edc4, type: 3}
|
||||
m_UVRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
--- !u!222 &1488306036
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1488306033}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!1 &1974370199
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1974370200}
|
||||
- component: {fileID: 1974370203}
|
||||
m_Layer: 5
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1974370200
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1974370199}
|
||||
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: 1488306034}
|
||||
m_Father: {fileID: 144620210}
|
||||
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!223 &1974370203
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1974370199}
|
||||
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
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ccc0ac08126704384bdda74c26d99797
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,566 +0,0 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
|
||||
|
||||
// Example for IronSource Unity.
|
||||
public class IronSourceDemoScript : MonoBehaviour
|
||||
{
|
||||
|
||||
|
||||
|
||||
public void Start()
|
||||
{
|
||||
|
||||
#if UNITY_ANDROID
|
||||
string appKey = "85460dcd";
|
||||
#elif UNITY_IPHONE
|
||||
string appKey = "8545d445";
|
||||
#else
|
||||
string appKey = "unexpected_platform";
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Debug.Log("unity-script: IronSource.Agent.validateIntegration");
|
||||
IronSource.Agent.validateIntegration();
|
||||
|
||||
Debug.Log("unity-script: unity version" + IronSource.unityVersion());
|
||||
|
||||
// SDK init
|
||||
Debug.Log("unity-script: IronSource.Agent.init");
|
||||
IronSource.Agent.init(appKey);
|
||||
|
||||
}
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
|
||||
//Add Init Event
|
||||
IronSourceEvents.onSdkInitializationCompletedEvent += SdkInitializationCompletedEvent;
|
||||
|
||||
//Add Rewarded Video Events
|
||||
IronSourceEvents.onRewardedVideoAdOpenedEvent += RewardedVideoAdOpenedEvent;
|
||||
IronSourceEvents.onRewardedVideoAdClosedEvent += RewardedVideoAdClosedEvent;
|
||||
IronSourceEvents.onRewardedVideoAvailabilityChangedEvent += RewardedVideoAvailabilityChangedEvent;
|
||||
IronSourceEvents.onRewardedVideoAdStartedEvent += RewardedVideoAdStartedEvent;
|
||||
IronSourceEvents.onRewardedVideoAdEndedEvent += RewardedVideoAdEndedEvent;
|
||||
IronSourceEvents.onRewardedVideoAdRewardedEvent += RewardedVideoAdRewardedEvent;
|
||||
IronSourceEvents.onRewardedVideoAdShowFailedEvent += RewardedVideoAdShowFailedEvent;
|
||||
IronSourceEvents.onRewardedVideoAdClickedEvent += RewardedVideoAdClickedEvent;
|
||||
|
||||
//Add Rewarded Video DemandOnly Events
|
||||
IronSourceEvents.onRewardedVideoAdOpenedDemandOnlyEvent += RewardedVideoAdOpenedDemandOnlyEvent;
|
||||
IronSourceEvents.onRewardedVideoAdClosedDemandOnlyEvent += RewardedVideoAdClosedDemandOnlyEvent;
|
||||
IronSourceEvents.onRewardedVideoAdLoadedDemandOnlyEvent += RewardedVideoAdLoadedDemandOnlyEvent;
|
||||
IronSourceEvents.onRewardedVideoAdRewardedDemandOnlyEvent += RewardedVideoAdRewardedDemandOnlyEvent;
|
||||
IronSourceEvents.onRewardedVideoAdShowFailedDemandOnlyEvent += RewardedVideoAdShowFailedDemandOnlyEvent;
|
||||
IronSourceEvents.onRewardedVideoAdClickedDemandOnlyEvent += RewardedVideoAdClickedDemandOnlyEvent;
|
||||
IronSourceEvents.onRewardedVideoAdLoadFailedDemandOnlyEvent += RewardedVideoAdLoadFailedDemandOnlyEvent;
|
||||
|
||||
|
||||
// Add Offerwall Events
|
||||
IronSourceEvents.onOfferwallClosedEvent += OfferwallClosedEvent;
|
||||
IronSourceEvents.onOfferwallOpenedEvent += OfferwallOpenedEvent;
|
||||
IronSourceEvents.onOfferwallShowFailedEvent += OfferwallShowFailedEvent;
|
||||
IronSourceEvents.onOfferwallAdCreditedEvent += OfferwallAdCreditedEvent;
|
||||
IronSourceEvents.onGetOfferwallCreditsFailedEvent += GetOfferwallCreditsFailedEvent;
|
||||
IronSourceEvents.onOfferwallAvailableEvent += OfferwallAvailableEvent;
|
||||
|
||||
|
||||
// Add Interstitial Events
|
||||
IronSourceEvents.onInterstitialAdReadyEvent += InterstitialAdReadyEvent;
|
||||
IronSourceEvents.onInterstitialAdLoadFailedEvent += InterstitialAdLoadFailedEvent;
|
||||
IronSourceEvents.onInterstitialAdShowSucceededEvent += InterstitialAdShowSucceededEvent;
|
||||
IronSourceEvents.onInterstitialAdShowFailedEvent += InterstitialAdShowFailedEvent;
|
||||
IronSourceEvents.onInterstitialAdClickedEvent += InterstitialAdClickedEvent;
|
||||
IronSourceEvents.onInterstitialAdOpenedEvent += InterstitialAdOpenedEvent;
|
||||
IronSourceEvents.onInterstitialAdClosedEvent += InterstitialAdClosedEvent;
|
||||
|
||||
// Add Interstitial DemandOnly Events
|
||||
IronSourceEvents.onInterstitialAdReadyDemandOnlyEvent += InterstitialAdReadyDemandOnlyEvent;
|
||||
IronSourceEvents.onInterstitialAdLoadFailedDemandOnlyEvent += InterstitialAdLoadFailedDemandOnlyEvent;
|
||||
IronSourceEvents.onInterstitialAdShowFailedDemandOnlyEvent += InterstitialAdShowFailedDemandOnlyEvent;
|
||||
IronSourceEvents.onInterstitialAdClickedDemandOnlyEvent += InterstitialAdClickedDemandOnlyEvent;
|
||||
IronSourceEvents.onInterstitialAdOpenedDemandOnlyEvent += InterstitialAdOpenedDemandOnlyEvent;
|
||||
IronSourceEvents.onInterstitialAdClosedDemandOnlyEvent += InterstitialAdClosedDemandOnlyEvent;
|
||||
|
||||
|
||||
// Add Banner Events
|
||||
IronSourceEvents.onBannerAdLoadedEvent += BannerAdLoadedEvent;
|
||||
IronSourceEvents.onBannerAdLoadFailedEvent += BannerAdLoadFailedEvent;
|
||||
IronSourceEvents.onBannerAdClickedEvent += BannerAdClickedEvent;
|
||||
IronSourceEvents.onBannerAdScreenPresentedEvent += BannerAdScreenPresentedEvent;
|
||||
IronSourceEvents.onBannerAdScreenDismissedEvent += BannerAdScreenDismissedEvent;
|
||||
IronSourceEvents.onBannerAdLeftApplicationEvent += BannerAdLeftApplicationEvent;
|
||||
|
||||
//Add ImpressionSuccess Event
|
||||
IronSourceEvents.onImpressionSuccessEvent += ImpressionSuccessEvent;
|
||||
IronSourceEvents.onImpressionDataReadyEvent += ImpressionDataReadyEvent;
|
||||
|
||||
|
||||
//Add AdInfo Rewarded Video Events
|
||||
IronSourceRewardedVideoEvents.onAdOpenedEvent += ReardedVideoOnAdOpenedEvent;
|
||||
IronSourceRewardedVideoEvents.onAdClosedEvent += ReardedVideoOnAdClosedEvent;
|
||||
IronSourceRewardedVideoEvents.onAdAvailableEvent += ReardedVideoOnAdAvailable;
|
||||
IronSourceRewardedVideoEvents.onAdUnavailableEvent += ReardedVideoOnAdUnavailable;
|
||||
IronSourceRewardedVideoEvents.onAdShowFailedEvent += ReardedVideoOnAdShowFailedEvent;
|
||||
IronSourceRewardedVideoEvents.onAdRewardedEvent += ReardedVideoOnAdRewardedEvent;
|
||||
IronSourceRewardedVideoEvents.onAdClickedEvent += ReardedVideoOnAdClickedEvent;
|
||||
|
||||
|
||||
//Add AdInfo Interstitial Events
|
||||
IronSourceInterstitialEvents.onAdReadyEvent += InterstitialOnAdReadyEvent;
|
||||
IronSourceInterstitialEvents.onAdLoadFailedEvent += InterstitialOnAdLoadFailed;
|
||||
IronSourceInterstitialEvents.onAdOpenedEvent += InterstitialOnAdOpenedEvent;
|
||||
IronSourceInterstitialEvents.onAdClickedEvent += InterstitialOnAdClickedEvent;
|
||||
IronSourceInterstitialEvents.onAdShowSucceededEvent += InterstitialOnAdShowSucceededEvent;
|
||||
IronSourceInterstitialEvents.onAdShowFailedEvent += InterstitialOnAdShowFailedEvent;
|
||||
IronSourceInterstitialEvents.onAdClosedEvent += InterstitialOnAdClosedEvent;
|
||||
|
||||
//Add AdInfo Banner Events
|
||||
IronSourceBannerEvents.onAdLoadedEvent += BannerOnAdLoadedEvent;
|
||||
IronSourceBannerEvents.onAdLoadFailedEvent += BannerOnAdLoadFailedEvent;
|
||||
IronSourceBannerEvents.onAdClickedEvent += BannerOnAdClickedEvent;
|
||||
IronSourceBannerEvents.onAdScreenPresentedEvent += BannerOnAdScreenPresentedEvent;
|
||||
IronSourceBannerEvents.onAdScreenDismissedEvent += BannerOnAdScreenDismissedEvent;
|
||||
IronSourceBannerEvents.onAdLeftApplicationEvent += BannerOnAdLeftApplicationEvent;
|
||||
|
||||
}
|
||||
|
||||
void OnApplicationPause(bool isPaused)
|
||||
{
|
||||
Debug.Log("unity-script: OnApplicationPause = " + isPaused);
|
||||
IronSource.Agent.onApplicationPause(isPaused);
|
||||
}
|
||||
|
||||
public void OnGUI()
|
||||
{
|
||||
|
||||
GUI.backgroundColor = Color.blue;
|
||||
GUI.skin.button.fontSize = (int)(0.035f * Screen.width);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Rect showRewardedVideoButton = new Rect(0.10f * Screen.width, 0.15f * Screen.height, 0.80f * Screen.width, 0.08f * Screen.height);
|
||||
if (GUI.Button(showRewardedVideoButton, "Show Rewarded Video"))
|
||||
{
|
||||
Debug.Log("unity-script: ShowRewardedVideoButtonClicked");
|
||||
if (IronSource.Agent.isRewardedVideoAvailable())
|
||||
{
|
||||
IronSource.Agent.showRewardedVideo();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("unity-script: IronSource.Agent.isRewardedVideoAvailable - False");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Rect showOfferwallButton = new Rect(0.10f * Screen.width, 0.25f * Screen.height, 0.80f * Screen.width, 0.08f * Screen.height);
|
||||
if (GUI.Button(showOfferwallButton, "Show Offerwall"))
|
||||
{
|
||||
if (IronSource.Agent.isOfferwallAvailable())
|
||||
{
|
||||
IronSource.Agent.showOfferwall();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("IronSource.Agent.isOfferwallAvailable - False");
|
||||
}
|
||||
}
|
||||
|
||||
Rect loadInterstitialButton = new Rect(0.10f * Screen.width, 0.35f * Screen.height, 0.35f * Screen.width, 0.08f * Screen.height);
|
||||
if (GUI.Button(loadInterstitialButton, "Load Interstitial"))
|
||||
{
|
||||
Debug.Log("unity-script: LoadInterstitialButtonClicked");
|
||||
IronSource.Agent.loadInterstitial();
|
||||
}
|
||||
|
||||
Rect showInterstitialButton = new Rect(0.55f * Screen.width, 0.35f * Screen.height, 0.35f * Screen.width, 0.08f * Screen.height);
|
||||
if (GUI.Button(showInterstitialButton, "Show Interstitial"))
|
||||
{
|
||||
Debug.Log("unity-script: ShowInterstitialButtonClicked");
|
||||
if (IronSource.Agent.isInterstitialReady())
|
||||
{
|
||||
IronSource.Agent.showInterstitial();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("unity-script: IronSource.Agent.isInterstitialReady - False");
|
||||
}
|
||||
}
|
||||
|
||||
Rect loadBannerButton = new Rect(0.10f * Screen.width, 0.45f * Screen.height, 0.35f * Screen.width, 0.08f * Screen.height);
|
||||
if (GUI.Button(loadBannerButton, "Load Banner"))
|
||||
{
|
||||
Debug.Log("unity-script: loadBannerButtonClicked");
|
||||
IronSource.Agent.loadBanner(IronSourceBannerSize.BANNER, IronSourceBannerPosition.BOTTOM);
|
||||
}
|
||||
|
||||
Rect destroyBannerButton = new Rect(0.55f * Screen.width, 0.45f * Screen.height, 0.35f * Screen.width, 0.08f * Screen.height);
|
||||
if (GUI.Button(destroyBannerButton, "Destroy Banner"))
|
||||
{
|
||||
Debug.Log("unity-script: loadBannerButtonClicked");
|
||||
IronSource.Agent.destroyBanner();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
#region Init callback handlers
|
||||
|
||||
void SdkInitializationCompletedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got SdkInitializationCompletedEvent");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region AdInfo Rewarded Video
|
||||
void ReardedVideoOnAdOpenedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got ReardedVideoOnAdOpenedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
void ReardedVideoOnAdClosedEvent(IronSourceAdInfo adInfo)
|
||||
{
|
||||
Debug.Log("unity-script: I got ReardedVideoOnAdClosedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
void ReardedVideoOnAdAvailable(IronSourceAdInfo adInfo)
|
||||
{
|
||||
Debug.Log("unity-script: I got ReardedVideoOnAdAvailable With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
void ReardedVideoOnAdUnavailable()
|
||||
{
|
||||
Debug.Log("unity-script: I got ReardedVideoOnAdUnavailable");
|
||||
}
|
||||
void ReardedVideoOnAdShowFailedEvent(IronSourceError ironSourceError,IronSourceAdInfo adInfo)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdOpenedEvent With Error"+ironSourceError.ToString() + "And AdInfo " + adInfo.ToString());
|
||||
}
|
||||
void ReardedVideoOnAdRewardedEvent(IronSourcePlacement ironSourcePlacement,IronSourceAdInfo adInfo)
|
||||
{
|
||||
Debug.Log("unity-script: I got ReardedVideoOnAdRewardedEvent With Placement" + ironSourcePlacement.ToString()+ "And AdInfo " + adInfo.ToString());
|
||||
}
|
||||
void ReardedVideoOnAdClickedEvent(IronSourcePlacement ironSourcePlacement, IronSourceAdInfo adInfo)
|
||||
{
|
||||
Debug.Log("unity-script: I got ReardedVideoOnAdClickedEvent With Placement" + ironSourcePlacement.ToString() + "And AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region RewardedAd callback handlers
|
||||
|
||||
void RewardedVideoAvailabilityChangedEvent(bool canShowAd)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAvailabilityChangedEvent, value = " + canShowAd);
|
||||
}
|
||||
|
||||
void RewardedVideoAdOpenedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdOpenedEvent");
|
||||
}
|
||||
|
||||
void RewardedVideoAdRewardedEvent(IronSourcePlacement ssp)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdRewardedEvent, amount = " + ssp.getRewardAmount() + " name = " + ssp.getRewardName());
|
||||
|
||||
}
|
||||
|
||||
void RewardedVideoAdClosedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdClosedEvent");
|
||||
}
|
||||
|
||||
void RewardedVideoAdStartedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdStartedEvent");
|
||||
}
|
||||
|
||||
void RewardedVideoAdEndedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdEndedEvent");
|
||||
}
|
||||
|
||||
void RewardedVideoAdShowFailedEvent(IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdShowFailedEvent, code : " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void RewardedVideoAdClickedEvent(IronSourcePlacement ssp)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdClickedEvent, name = " + ssp.getRewardName());
|
||||
}
|
||||
|
||||
/************* RewardedVideo DemandOnly Delegates *************/
|
||||
|
||||
void RewardedVideoAdLoadedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
|
||||
Debug.Log("unity-script: I got RewardedVideoAdLoadedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void RewardedVideoAdLoadFailedDemandOnlyEvent(string instanceId, IronSourceError error)
|
||||
{
|
||||
|
||||
Debug.Log("unity-script: I got RewardedVideoAdLoadFailedDemandOnlyEvent for instance: " + instanceId + ", code : " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void RewardedVideoAdOpenedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdOpenedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void RewardedVideoAdRewardedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdRewardedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void RewardedVideoAdClosedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdClosedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void RewardedVideoAdShowFailedDemandOnlyEvent(string instanceId, IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdShowFailedDemandOnlyEvent for instance: " + instanceId + ", code : " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void RewardedVideoAdClickedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got RewardedVideoAdClickedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region AdInfo Interstitial
|
||||
|
||||
void InterstitialOnAdReadyEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdReadyEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void InterstitialOnAdLoadFailed(IronSourceError ironSourceError) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdLoadFailed With Error " + ironSourceError.ToString());
|
||||
}
|
||||
|
||||
void InterstitialOnAdOpenedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdOpenedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void InterstitialOnAdClickedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdClickedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void InterstitialOnAdShowSucceededEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdShowSucceededEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void InterstitialOnAdShowFailedEvent(IronSourceError ironSourceError, IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdShowFailedEvent With Error " +ironSourceError.ToString()+ " And AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void InterstitialOnAdClosedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got InterstitialOnAdClosedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Interstitial callback handlers
|
||||
|
||||
void InterstitialAdReadyEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdReadyEvent");
|
||||
}
|
||||
|
||||
void InterstitialAdLoadFailedEvent(IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void InterstitialAdShowSucceededEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdShowSucceededEvent");
|
||||
}
|
||||
|
||||
void InterstitialAdShowFailedEvent(IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdShowFailedEvent, code : " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void InterstitialAdClickedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdClickedEvent");
|
||||
}
|
||||
|
||||
void InterstitialAdOpenedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdOpenedEvent");
|
||||
}
|
||||
|
||||
void InterstitialAdClosedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdClosedEvent");
|
||||
}
|
||||
|
||||
/************* Interstitial DemandOnly Delegates *************/
|
||||
|
||||
void InterstitialAdReadyDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdReadyDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void InterstitialAdLoadFailedDemandOnlyEvent(string instanceId, IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdLoadFailedDemandOnlyEvent for instance: " + instanceId + ", error code: " + error.getCode() + ",error description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void InterstitialAdShowFailedDemandOnlyEvent(string instanceId, IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdShowFailedDemandOnlyEvent for instance: " + instanceId + ", error code : " + error.getCode() + ",error description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void InterstitialAdClickedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdClickedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void InterstitialAdOpenedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdOpenedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
void InterstitialAdClosedDemandOnlyEvent(string instanceId)
|
||||
{
|
||||
Debug.Log("unity-script: I got InterstitialAdClosedDemandOnlyEvent for instance: " + instanceId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Banner AdInfo
|
||||
|
||||
void BannerOnAdLoadedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got BannerOnAdLoadedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void BannerOnAdLoadFailedEvent(IronSourceError ironSourceError) {
|
||||
Debug.Log("unity-script: I got BannerOnAdLoadFailedEvent With Error " + ironSourceError.ToString());
|
||||
}
|
||||
|
||||
void BannerOnAdClickedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got BannerOnAdClickedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void BannerOnAdScreenPresentedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got BannerOnAdScreenPresentedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void BannerOnAdScreenDismissedEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got BannerOnAdScreenDismissedEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
void BannerOnAdLeftApplicationEvent(IronSourceAdInfo adInfo) {
|
||||
Debug.Log("unity-script: I got BannerOnAdLeftApplicationEvent With AdInfo " + adInfo.ToString());
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Banner callback handlers
|
||||
|
||||
void BannerAdLoadedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got BannerAdLoadedEvent");
|
||||
}
|
||||
|
||||
void BannerAdLoadFailedEvent(IronSourceError error)
|
||||
{
|
||||
Debug.Log("unity-script: I got BannerAdLoadFailedEvent, code: " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void BannerAdClickedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got BannerAdClickedEvent");
|
||||
}
|
||||
|
||||
void BannerAdScreenPresentedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got BannerAdScreenPresentedEvent");
|
||||
}
|
||||
|
||||
void BannerAdScreenDismissedEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got BannerAdScreenDismissedEvent");
|
||||
}
|
||||
|
||||
void BannerAdLeftApplicationEvent()
|
||||
{
|
||||
Debug.Log("unity-script: I got BannerAdLeftApplicationEvent");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Offerwall callback handlers
|
||||
|
||||
void OfferwallOpenedEvent()
|
||||
{
|
||||
Debug.Log("I got OfferwallOpenedEvent");
|
||||
}
|
||||
|
||||
void OfferwallClosedEvent()
|
||||
{
|
||||
Debug.Log("I got OfferwallClosedEvent");
|
||||
}
|
||||
|
||||
void OfferwallShowFailedEvent(IronSourceError error)
|
||||
{
|
||||
Debug.Log("I got OfferwallShowFailedEvent, code : " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void OfferwallAdCreditedEvent(Dictionary<string, object> dict)
|
||||
{
|
||||
Debug.Log("I got OfferwallAdCreditedEvent, current credits = " + dict["credits"] + " totalCredits = " + dict["totalCredits"]);
|
||||
|
||||
}
|
||||
|
||||
void GetOfferwallCreditsFailedEvent(IronSourceError error)
|
||||
{
|
||||
Debug.Log("I got GetOfferwallCreditsFailedEvent, code : " + error.getCode() + ", description : " + error.getDescription());
|
||||
}
|
||||
|
||||
void OfferwallAvailableEvent(bool canShowOfferwal)
|
||||
{
|
||||
Debug.Log("I got OfferwallAvailableEvent, value = " + canShowOfferwal);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ImpressionSuccess callback handler
|
||||
|
||||
void ImpressionSuccessEvent(IronSourceImpressionData impressionData)
|
||||
{
|
||||
Debug.Log("unity - script: I got ImpressionSuccessEvent ToString(): " + impressionData.ToString());
|
||||
Debug.Log("unity - script: I got ImpressionSuccessEvent allData: " + impressionData.allData);
|
||||
}
|
||||
|
||||
void ImpressionDataReadyEvent(IronSourceImpressionData impressionData)
|
||||
{
|
||||
Debug.Log("unity - script: I got ImpressionDataReadyEvent ToString(): " + impressionData.ToString());
|
||||
Debug.Log("unity - script: I got ImpressionDataReadyEvent allData: " + impressionData.allData);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 191f5798a75bd42589f98898505e981f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
@ -1,88 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e326581693fd4e0db4c590543c3edc4
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: -1
|
||||
wrapV: -1
|
||||
wrapW: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 34c3ff4f8153c4d1daa04ec97e7ec323
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f54b8169c1644296a557ad386705e4c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86dba1de3972d4e12bf4394b00bc57c0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 178cc3b63946b4aeea47a9a62e7184e0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e0bdfd009e0d4e0ea8ddeeb30053163
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e00793f5609c4455b5d65c951f67a8f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,199 +0,0 @@
|
||||
#if UNITY_ANDROID
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml.Linq;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Build;
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
using UnityEditor.Build.Reporting;
|
||||
#endif
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
public class IronSourceManifestProcessor : IPreprocessBuildWithReport
|
||||
#else
|
||||
public class IronSourceManifestProcessor : IPreprocessBuild
|
||||
#endif
|
||||
{
|
||||
private const string META_APPLICATION_ID = "com.google.android.gms.ads.APPLICATION_ID";
|
||||
private const string AD_ID_PERMISSION_ATTR = "com.google.android.gms.permission.AD_ID";
|
||||
private const string MANIFEST_PERMISSION = "uses-permission";
|
||||
private const string MANIFEST_META_DATA = "meta-data";
|
||||
private const string IRONSOURCE_MANIFEST_PATH = "IronSource/Plugins/Android/IronSource.androidlib/AndroidManifest.xml";
|
||||
private string manifestPath = "";
|
||||
private XNamespace ns = "http://schemas.android.com/apk/res/android";
|
||||
|
||||
public int callbackOrder { get { return 0; } }
|
||||
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
public void OnPreprocessBuild(BuildReport report)
|
||||
#else
|
||||
public void OnPreprocessBuild(BuildTarget target, string path)
|
||||
#endif
|
||||
{
|
||||
if (File.Exists(IronSourceMediatedNetworkSettings.MEDIATION_SETTINGS_ASSET_PATH) || File.Exists(IronSourceMediationSettings.IRONSOURCE_SETTINGS_ASSET_PATH))
|
||||
{
|
||||
|
||||
|
||||
XElement elemManifest = ValidateAndroidManifest();
|
||||
|
||||
XElement elemApplication = elemManifest.Element("application");
|
||||
|
||||
if (File.Exists(IronSourceMediatedNetworkSettings.MEDIATION_SETTINGS_ASSET_PATH))
|
||||
{
|
||||
string appId = IronSourceMediatedNetworkSettingsInspector.IronSourceMediatedNetworkSettings.AdmobAndroidAppId;
|
||||
|
||||
IEnumerable<XElement> metas = elemApplication.Descendants()
|
||||
.Where(elem => elem.Name.LocalName.Equals(MANIFEST_META_DATA));
|
||||
|
||||
if (IronSourceMediatedNetworkSettingsInspector.IronSourceMediatedNetworkSettings.EnableAdmob)
|
||||
{
|
||||
|
||||
XElement elemAdMobEnabled = GetMetaElement(metas, META_APPLICATION_ID);
|
||||
|
||||
if (appId.Length == 0)
|
||||
{
|
||||
StopBuildWithMessage(
|
||||
"Android AdMob app ID is empty. Please enter your app ID to run ads properly");
|
||||
}
|
||||
else if (!Regex.IsMatch(appId, "^[a-zA-Z0-9-~]*$"))
|
||||
{
|
||||
StopBuildWithMessage(
|
||||
"Android AdMob app ID is not valid. Please enter a valid app ID to run ads properly");
|
||||
}
|
||||
|
||||
else if (elemAdMobEnabled == null)
|
||||
{
|
||||
elemApplication.Add(CreateMetaElement(META_APPLICATION_ID, appId));
|
||||
}
|
||||
else
|
||||
{
|
||||
elemAdMobEnabled.SetAttributeValue(ns + "value", appId);
|
||||
}
|
||||
|
||||
}
|
||||
else if (GetPermissionElement(metas, META_APPLICATION_ID) != null)
|
||||
{
|
||||
//remove admob app id in case flag is off
|
||||
GetPermissionElement(metas, META_APPLICATION_ID).Remove();
|
||||
}
|
||||
}
|
||||
|
||||
if (File.Exists(IronSourceMediationSettings.IRONSOURCE_SETTINGS_ASSET_PATH))
|
||||
{
|
||||
IEnumerable<XElement> permissons = elemManifest.Descendants().Where(elem => elem.Name.LocalName.Equals(MANIFEST_PERMISSION));
|
||||
|
||||
if (IronSourceMediationSettingsInspector.IronSourceMediationSettings.DeclareAD_IDPermission && GetPermissionElement(permissons, AD_ID_PERMISSION_ATTR) == null)
|
||||
{
|
||||
|
||||
elemManifest.Add(CreatePermissionElement(AD_ID_PERMISSION_ATTR));
|
||||
}
|
||||
|
||||
else if (GetPermissionElement(permissons, AD_ID_PERMISSION_ATTR) != null && !IronSourceMediationSettingsInspector.IronSourceMediationSettings.DeclareAD_IDPermission)
|
||||
{
|
||||
//remove the permission if flag is false
|
||||
GetPermissionElement(permissons, AD_ID_PERMISSION_ATTR).Remove();
|
||||
}
|
||||
}
|
||||
manifestPath = Path.Combine(Application.dataPath, IRONSOURCE_MANIFEST_PATH);
|
||||
elemManifest.Save(manifestPath);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private XElement CreateMetaElement(string name, object value)
|
||||
{
|
||||
return new XElement(MANIFEST_META_DATA,
|
||||
new XAttribute(ns + "name", name), new XAttribute(ns + "value", value));
|
||||
}
|
||||
|
||||
private XElement CreatePermissionElement(string name)
|
||||
{
|
||||
return new XElement(MANIFEST_PERMISSION,
|
||||
new XAttribute(ns + "name", name));
|
||||
}
|
||||
|
||||
private XElement GetMetaElement(IEnumerable<XElement> metas, string metaName)
|
||||
{
|
||||
foreach (XElement elem in metas)
|
||||
{
|
||||
IEnumerable<XAttribute> attrs = elem.Attributes();
|
||||
foreach (XAttribute attr in attrs)
|
||||
{
|
||||
if (attr.Name.Namespace.Equals(ns)
|
||||
&& attr.Name.LocalName.Equals("name") && attr.Value.Equals(metaName))
|
||||
{
|
||||
return elem;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private XElement GetPermissionElement(IEnumerable<XElement> manifest, string permissionName)
|
||||
{
|
||||
|
||||
foreach (XElement elem in manifest)
|
||||
{
|
||||
IEnumerable<XAttribute> attrs = elem.Attributes();
|
||||
foreach (XAttribute attr in attrs)
|
||||
{
|
||||
if (attr.Name.Namespace.Equals(ns)
|
||||
&& attr.Name.LocalName.Equals("name") && attr.Value.Equals(permissionName))
|
||||
{
|
||||
return elem;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private void StopBuildWithMessage(string message)
|
||||
{
|
||||
string prefix = "[IronSourceApplicationSettings] ";
|
||||
|
||||
EditorUtility.DisplayDialog(
|
||||
"IronSource Developer Settings", "Error: " + message, "", "");
|
||||
#if UNITY_2017_1_OR_NEWER
|
||||
throw new System.OperationCanceledException(prefix + message);
|
||||
#else
|
||||
throw new OperationCanceledException(prefix + message);
|
||||
#endif
|
||||
}
|
||||
|
||||
private XElement ValidateAndroidManifest()
|
||||
{
|
||||
|
||||
XDocument manifest = null;
|
||||
try
|
||||
{
|
||||
manifestPath = Path.Combine(Application.dataPath, IRONSOURCE_MANIFEST_PATH);
|
||||
manifest = XDocument.Load(manifestPath);
|
||||
}
|
||||
#pragma warning disable 0168
|
||||
catch (IOException e)
|
||||
#pragma warning restore 0168
|
||||
{
|
||||
StopBuildWithMessage("AndroidManifest.xml is missing. Try re-importing the plugin.");
|
||||
}
|
||||
|
||||
XElement elemManifest = manifest.Element("manifest");
|
||||
if (elemManifest == null)
|
||||
{
|
||||
StopBuildWithMessage("AndroidManifest.xml is not valid. Try re-importing the plugin.");
|
||||
}
|
||||
|
||||
XElement elemApplication = elemManifest.Element("application");
|
||||
if (elemApplication == null)
|
||||
{
|
||||
StopBuildWithMessage("AndroidManifest.xml is not valid. Try re-importing the plugin.");
|
||||
}
|
||||
|
||||
return elemManifest;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ccb964ff1677c41b0a4268a3f6ecf79a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,20 +0,0 @@
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
|
||||
public class IronSourceMediatedNetworkSettings : ScriptableObject{
|
||||
public static readonly string MEDIATION_SETTINGS_ASSET_PATH = Path.Combine(IronSourceConstants.IRONSOURCE_RESOURCES_PATH, IronSourceConstants.IRONSOURCE_MEDIATED_NETWORK_SETTING_NAME + ".asset");
|
||||
|
||||
[Header("")]
|
||||
[Header("AdMob Integration")]
|
||||
[SerializeField]
|
||||
[Tooltip("This will add AdMob Application ID to AndroidManifest.xml/info.plist")]
|
||||
public bool EnableAdmob = false;
|
||||
|
||||
[SerializeField]
|
||||
[Tooltip("This Will be added to your AndroidManifest.xml")]
|
||||
public string AdmobAndroidAppId = string.Empty;
|
||||
|
||||
[SerializeField]
|
||||
[Tooltip("This will be added to your info.plist")]
|
||||
public string AdmobIOSAppId = string.Empty;
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6dcd730eacb2043e8a6f1c61c16243da
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6ddcb1096c420410ead13befae195114
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4a5cecbf374304044822daeaa54c686c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,72 +0,0 @@
|
||||
using System.IO;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public class IronSourceMenu : UnityEditor.Editor
|
||||
{
|
||||
|
||||
[MenuItem("Ads Mediation/Documentation", false, 0)]
|
||||
public static void Documentation()
|
||||
{
|
||||
Application.OpenURL("https://developers.is.com/ironsource-mobile/unity/unity-plugin/");
|
||||
}
|
||||
|
||||
|
||||
[MenuItem("Ads Mediation/SDK Change Log", false, 1)]
|
||||
public static void ChangeLog()
|
||||
{
|
||||
Application.OpenURL("https://developers.is.com/ironsource-mobile/unity/sdk-change-log/");
|
||||
}
|
||||
|
||||
|
||||
[MenuItem("Ads Mediation/Integration Manager", false , 2)]
|
||||
public static void SdkManagerProd()
|
||||
{
|
||||
IronSourceDependenciesManager.ShowISDependenciesManager();
|
||||
}
|
||||
|
||||
[MenuItem("Ads Mediation/Developer Settings/LevelPlay Mediation Settings", false, 3)]
|
||||
public static void mediationSettings()
|
||||
{
|
||||
string path = "Assets/IronSource/Resources";
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
|
||||
|
||||
var ironSourceMediationSettings = Resources.Load<IronSourceMediationSettings>(IronSourceConstants.IRONSOURCE_MEDIATION_SETTING_NAME);
|
||||
if (ironSourceMediationSettings == null)
|
||||
{
|
||||
Debug.LogWarning(IronSourceConstants.IRONSOURCE_MEDIATION_SETTING_NAME + " can't be found, creating a new one...");
|
||||
ironSourceMediationSettings = CreateInstance<IronSourceMediationSettings>();
|
||||
AssetDatabase.CreateAsset(ironSourceMediationSettings, IronSourceMediationSettings.IRONSOURCE_SETTINGS_ASSET_PATH);
|
||||
ironSourceMediationSettings = Resources.Load<IronSourceMediationSettings>(IronSourceConstants.IRONSOURCE_MEDIATION_SETTING_NAME);
|
||||
}
|
||||
|
||||
Selection.activeObject = ironSourceMediationSettings;
|
||||
}
|
||||
|
||||
[MenuItem("Ads Mediation/Developer Settings/Mediated Network Settings", false, 4)]
|
||||
public static void mediatedNetworkSettings()
|
||||
{
|
||||
string path = IronSourceConstants.IRONSOURCE_RESOURCES_PATH;
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
|
||||
var ironSourceMediatedNetworkSettings = Resources.Load<IronSourceMediatedNetworkSettings>(IronSourceConstants.IRONSOURCE_MEDIATED_NETWORK_SETTING_NAME);
|
||||
if (ironSourceMediatedNetworkSettings == null)
|
||||
{
|
||||
Debug.LogWarning(IronSourceConstants.IRONSOURCE_MEDIATED_NETWORK_SETTING_NAME + " can't be found, creating a new one...");
|
||||
ironSourceMediatedNetworkSettings = CreateInstance<IronSourceMediatedNetworkSettings>();
|
||||
AssetDatabase.CreateAsset(ironSourceMediatedNetworkSettings, IronSourceMediatedNetworkSettings.MEDIATION_SETTINGS_ASSET_PATH);
|
||||
ironSourceMediatedNetworkSettings = Resources.Load<IronSourceMediatedNetworkSettings>(IronSourceConstants.IRONSOURCE_MEDIATED_NETWORK_SETTING_NAME);
|
||||
}
|
||||
|
||||
Selection.activeObject = ironSourceMediatedNetworkSettings;
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 66597aa84be5b4b818f2a497977ff225
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 06612f61fb60e49e99108f8c39651992
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,35 +0,0 @@
|
||||
<dependencies>
|
||||
<unityversion>7.3.1.1</unityversion>
|
||||
|
||||
<androidPackages>
|
||||
<androidPackage spec="com.ironsource.sdk:mediationsdk:7.3.1.1">
|
||||
<repositories>
|
||||
<repository>https://android-sdk.is.com/</repository>
|
||||
</repositories>
|
||||
</androidPackage>
|
||||
</androidPackages>
|
||||
|
||||
<androidPackages>
|
||||
<androidPackage spec="com.google.android.gms:play-services-ads-identifier:18.0.1">
|
||||
<repositories>
|
||||
<repository>https://maven.google.com/</repository>
|
||||
</repositories>
|
||||
</androidPackage>
|
||||
</androidPackages>
|
||||
|
||||
<androidPackages>
|
||||
<androidPackage spec="com.google.android.gms:play-services-basement:18.1.0">
|
||||
<repositories>
|
||||
<repository>https://maven.google.com/</repository>
|
||||
</repositories>
|
||||
</androidPackage>
|
||||
</androidPackages>
|
||||
|
||||
<iosPods>
|
||||
<iosPod name="IronSourceSDK" version="7.3.1.0">
|
||||
<sources>
|
||||
<source>https://github.com/CocoaPods/Specs</source>
|
||||
</sources>
|
||||
</iosPod>
|
||||
</iosPods>
|
||||
</dependencies>
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4ccded49888e543a8b6c50a8b0e8e60e
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,125 +0,0 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
using UnityEngine.Networking;
|
||||
|
||||
|
||||
namespace MobileDependencyResolverLP.Installer.Editor
|
||||
{
|
||||
static class MobileDependencyResolverInstallerLp
|
||||
{
|
||||
const string k_UnityMediationPackage = "com.unity.services.mediation";
|
||||
const string k_PackageUrl = @"https://s3.amazonaws.com/ssa.public/MDR/mobile-dependency-resolver.unitypackage";
|
||||
const string k_DownloadPath = @"Temp/MDR.unitypackage";
|
||||
|
||||
const string k_DoNotAskAgain = "Unity.Mediation.MobileDependencyResolver.DoNotAskAgain";
|
||||
const string k_DialogTitle = "Mobile Dependency Resolver required";
|
||||
const string k_DialogText = "Mediation requires Mobile Dependency Resolver to resolve native dependencies.\n" +
|
||||
" Would you like to import the package?";
|
||||
const string k_DialogTitleError = "Error";
|
||||
const string k_DialogTextError = "Failed to download MDR; ";
|
||||
const string k_ButtonOk = "OK";
|
||||
const string k_ButtonImport = "Import";
|
||||
const string k_ButtonCancel = "Cancel";
|
||||
const string k_ButtonDontAskAgain = "Ignore - Do not ask again during this session";
|
||||
|
||||
|
||||
[InitializeOnLoadMethod]
|
||||
static void InstallPlayServicesResolverIfNeeded()
|
||||
{
|
||||
if (!IsPackageInstalled(k_UnityMediationPackage))
|
||||
{
|
||||
EditorApplication.quitting += EditorApplicationOnQuitting;
|
||||
|
||||
if (IsPlayServicesResolverInstalled())
|
||||
return;
|
||||
|
||||
// The user will have a choice to ignore this dialog for the entire session.
|
||||
if ((Application.isBatchMode && Environment.GetEnvironmentVariable("UNITY_THISISABUILDMACHINE") != null) || AskUserToInstallPackage())
|
||||
{
|
||||
InstallPackage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static bool IsPackageInstalled(string package)
|
||||
{
|
||||
if (File.Exists("Packages/manifest.json"))
|
||||
{
|
||||
var packageList = File.ReadAllText("Packages/manifest.json");
|
||||
return packageList.Contains(package);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static void EditorApplicationOnQuitting()
|
||||
{
|
||||
EditorPrefs.DeleteKey(k_DoNotAskAgain);
|
||||
}
|
||||
|
||||
static bool AskUserToInstallPackage()
|
||||
{
|
||||
if (EditorPrefs.GetBool(k_DoNotAskAgain)) return false;
|
||||
|
||||
var response = EditorUtility.DisplayDialogComplex(k_DialogTitle, k_DialogText,
|
||||
k_ButtonImport, k_ButtonCancel, k_ButtonDontAskAgain);
|
||||
|
||||
switch (response)
|
||||
{
|
||||
case 0:
|
||||
return true;
|
||||
case 1:
|
||||
return false;
|
||||
case 2:
|
||||
EditorPrefs.SetBool(k_DoNotAskAgain, true);
|
||||
return false;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
internal static bool IsPlayServicesResolverInstalled()
|
||||
{
|
||||
try
|
||||
{
|
||||
return Type.GetType("Google.VersionHandler, Google.VersionHandler") != null;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Debug.LogException(e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
static void InstallPackage()
|
||||
{
|
||||
bool downloaded = false;
|
||||
using (var wc = new WebClient())
|
||||
{
|
||||
try
|
||||
{
|
||||
wc.DownloadFile(k_PackageUrl, k_DownloadPath);
|
||||
downloaded = true;
|
||||
}
|
||||
catch (WebException e)
|
||||
{
|
||||
EditorUtility.DisplayDialog(
|
||||
k_DialogTitleError,
|
||||
k_DialogTextError + e.Message,
|
||||
k_ButtonOk);
|
||||
}
|
||||
}
|
||||
|
||||
if (downloaded)
|
||||
{
|
||||
var absolutePath = Path.GetFullPath(k_DownloadPath);
|
||||
AssetDatabase.ImportPackage(absolutePath, false);
|
||||
File.Delete(absolutePath);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: affaf9528734848b9ab9399ade88a1a0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,3 +0,0 @@
|
||||
// This file is generated. Do not modify by hand.
|
||||
// XML documentation file not found. To check if public methods have XML comments,
|
||||
// make sure the XML doc file is present and located next to the scraped dll
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5b8279495f69c4a8e9a6527f550b9734
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab2832c2b390d7c46adf52f6f171a4ac
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 514fc923d8df3da41a41925bfdbca334
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,28 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 718f851be2f4c4ee9b4c748b225a7ea2
|
||||
folderAsset: yes
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e46e3d39a8bec48d9ae81d0008842ad4
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5936d92d17be4fde864e068dd13d202
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
@ -1,32 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f10a601320ff74e1e96ecfd77be278c5
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,2 +0,0 @@
|
||||
target=android-9
|
||||
android.library=true
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f6d91e910c9af49d7a1d0254340e9dca
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eec757880dab91445ae01d043749324b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,33 +0,0 @@
|
||||
//
|
||||
// BannerLevelPlayCallbacksWrapper.h
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
||||
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <IronSource/IronSource.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol BannerLevelPlayCallbacksWrapper <NSObject>
|
||||
|
||||
- (void)bannerLevelPlayDidLoad:(ISBannerView *)bannerView withAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)bannerLevelPlayDidFailToLoadWithError:(NSError *)error;
|
||||
- (void)bannerLevelPlayDidClickWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)bannerLevelPlayDidPresentScreenWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)bannerLevelPlayDidDismissScreenWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)bannerLevelPlayDidLeaveApplicationWithAdInfo:(ISAdInfo *)adInfo;
|
||||
|
||||
@end
|
||||
|
||||
@interface BannerLevelPlayCallbacksWrapper : NSObject<LevelPlayBannerDelegate>
|
||||
|
||||
@property (nonatomic, weak) id<BannerLevelPlayCallbacksWrapper> delegate;
|
||||
|
||||
- (instancetype) initWithDelegate:(id<BannerLevelPlayCallbacksWrapper>)delegate;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@ -1,27 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e59e5ae0f40954de1bd7a08ffee62dfe
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,49 +0,0 @@
|
||||
//
|
||||
// BannerLevelPlayCallbacksWrapper.m
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
||||
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BannerLevelPlayCallbacksWrapper.h"
|
||||
|
||||
@implementation BannerLevelPlayCallbacksWrapper
|
||||
|
||||
-(instancetype)initWithDelegate:(id<BannerLevelPlayCallbacksWrapper>)delegate {
|
||||
self = [super init];
|
||||
|
||||
if (self) {
|
||||
_delegate = delegate;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
|
||||
- (void)didClickWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate bannerLevelPlayDidClickWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didDismissScreenWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate bannerLevelPlayDidDismissScreenWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didFailToLoadWithError:(NSError *)error {
|
||||
[_delegate bannerLevelPlayDidFailToLoadWithError:error];
|
||||
}
|
||||
|
||||
- (void)didLeaveApplicationWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate bannerLevelPlayDidLeaveApplicationWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didLoad:(ISBannerView *)bannerView withAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate bannerLevelPlayDidLoad:bannerView withAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didPresentScreenWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate bannerLevelPlayDidPresentScreenWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
@end
|
@ -1,37 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b502d11a29d2b41dd8be5f85c4f8ba06
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,34 +0,0 @@
|
||||
//
|
||||
// InterstitialLevelPlayCallbacksWrapper.h
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
||||
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <IronSource/IronSource.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol InterstitialLevelPlayCallbacksWrapper <NSObject>
|
||||
|
||||
- (void)interstitialLevelPlayDidLoadWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)interstitialLevelPlayDidFailToLoadWithError:(NSError *)error;
|
||||
- (void)interstitialLevelPlayDidOpenWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)interstitialLevelPlayDidCloseWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)interstitialLevelPlayDidShowWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)interstitialLevelPlayDidFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)interstitialLevelPlayDidClickWithAdInfo:(ISAdInfo *)adInfo;
|
||||
|
||||
@end
|
||||
|
||||
@interface InterstitialLevelPlayCallbacksWrapper : NSObject <LevelPlayInterstitialDelegate>
|
||||
|
||||
@property (nonatomic, weak) id<InterstitialLevelPlayCallbacksWrapper> delegate;
|
||||
|
||||
- (instancetype) initWithDelegate:(id<InterstitialLevelPlayCallbacksWrapper>)delegate;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@ -1,27 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0df2f4fa7a5254ff786db2f71996fd06
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,51 +0,0 @@
|
||||
//
|
||||
// InterstitialLevelPlayCallbacksWrapper.m
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
||||
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
||||
//
|
||||
|
||||
#import "InterstitialLevelPlayCallbacksWrapper.h"
|
||||
|
||||
@implementation InterstitialLevelPlayCallbacksWrapper
|
||||
|
||||
-(instancetype)initWithDelegate:(id<InterstitialLevelPlayCallbacksWrapper>)delegate {
|
||||
self = [super init];
|
||||
|
||||
if (self) {
|
||||
_delegate = delegate;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)didClickWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate interstitialLevelPlayDidClickWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didCloseWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate interstitialLevelPlayDidCloseWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didFailToLoadWithError:(NSError *)error {
|
||||
[_delegate interstitialLevelPlayDidFailToLoadWithError:error];
|
||||
}
|
||||
|
||||
- (void)didFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate interstitialLevelPlayDidFailToShowWithError:error andAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didLoadWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate interstitialLevelPlayDidLoadWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didOpenWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate interstitialLevelPlayDidOpenWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didShowWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate interstitialLevelPlayDidShowWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
@end
|
@ -1,37 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b7b00399473264029877c5a3da509a4c
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,78 +0,0 @@
|
||||
//
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Ori on 5/13/15.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <IronSource/ISSupersonicAdsConfiguration.h>
|
||||
#import <IronSource/ISConfigurations.h>
|
||||
|
||||
@interface IronSourceUnityConfig:NSObject
|
||||
//IronSource
|
||||
- (void) setClientSideCallbacks:(bool)useClientSideCallbacks;
|
||||
- (void) setLanguage:(NSString *)language;
|
||||
- (void) setRewardedVideoCustomParams:(NSString *)rvParams;
|
||||
- (void) setOfferwallCustomParams:(NSString *)owParams;
|
||||
|
||||
@end
|
||||
|
||||
@implementation IronSourceUnityConfig
|
||||
|
||||
//IronSource
|
||||
- (void) setClientSideCallbacks:(bool)useClientSideCallbacks {
|
||||
NSNumber *ucsc = @0;
|
||||
if (useClientSideCallbacks)
|
||||
ucsc = @1;
|
||||
|
||||
[ISSupersonicAdsConfiguration configurations].useClientSideCallbacks = ucsc;
|
||||
}
|
||||
|
||||
- (void) setLanguage:(NSString *)language {
|
||||
[ISSupersonicAdsConfiguration configurations].language = language;
|
||||
}
|
||||
|
||||
- (void) setRewardedVideoCustomParams:(NSString *)rvParams {
|
||||
NSError *jsonError;
|
||||
NSData *objectData = [rvParams dataUsingEncoding:NSUTF8StringEncoding];
|
||||
NSDictionary *json = [NSJSONSerialization JSONObjectWithData:objectData options:NSJSONReadingMutableContainers error:&jsonError];
|
||||
if (!jsonError)
|
||||
[ISConfigurations configurations].rewardedVideoCustomParameters = json;
|
||||
}
|
||||
|
||||
- (void) setOfferwallCustomParams:(NSString *)owParams {
|
||||
NSError *jsonError;
|
||||
NSData *objectData = [owParams dataUsingEncoding:NSUTF8StringEncoding];
|
||||
NSDictionary *json = [NSJSONSerialization JSONObjectWithData:objectData options:NSJSONReadingMutableContainers error:&jsonError];
|
||||
if (!jsonError)
|
||||
[ISConfigurations configurations].offerwallCustomParameters = json;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ParseNSStringParam( _x_ ) ( _x_ != NULL ) ? [NSString stringWithUTF8String:_x_] : [NSString stringWithUTF8String:""]
|
||||
|
||||
//IronSource
|
||||
void CFSetClientSideCallbacks(bool useClientSideCallbacks){
|
||||
[[IronSourceUnityConfig new] setClientSideCallbacks:useClientSideCallbacks];
|
||||
}
|
||||
void CFSetLanguage(const char *language){
|
||||
[[IronSourceUnityConfig new] setLanguage:ParseNSStringParam(language)];
|
||||
}
|
||||
void CFSetRewardedVideoCustomParams(const char *rvParams){
|
||||
[[IronSourceUnityConfig new] setRewardedVideoCustomParams:ParseNSStringParam(rvParams)];
|
||||
}
|
||||
void CFSetOfferwallCustomParams(const char *owParam){
|
||||
[[IronSourceUnityConfig new] setOfferwallCustomParams:ParseNSStringParam(owParam)];
|
||||
}
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@end
|
@ -1,37 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 552162f62361f47aa8c899ff56f7d47e
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,36 +0,0 @@
|
||||
//
|
||||
// RewardedVideoLevelPlayCallbacksWrapper.h
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
||||
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <IronSource/IronSource.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol RewardedVideoLevelPlayCallbacksWrapper <NSObject>
|
||||
|
||||
- (void)rewardedVideoLevelPlayDidLoadWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)rewardedVideoLevelPlayDidFailToLoadWithError:(NSError *)error;
|
||||
- (void)hasAvailableAdWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)hasNoAvailableAd;
|
||||
- (void)rewardedVideoLevelPlayDidReceiveRewardForPlacement:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)rewardedVideoLevelPlayDidFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)rewardedVideoLevelPlayDidOpenWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)rewardedVideoLevelPlayDidCloseWithAdInfo:(ISAdInfo *)adInfo;
|
||||
- (void)rewardedVideoLevelPlayDidClick:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo;
|
||||
|
||||
@end
|
||||
|
||||
@interface RewardedVideoLevelPlayCallbacksWrapper : NSObject <LevelPlayRewardedVideoManualDelegate,LevelPlayRewardedVideoDelegate>
|
||||
|
||||
@property (nonatomic, weak) id<RewardedVideoLevelPlayCallbacksWrapper>delegate;
|
||||
|
||||
- (instancetype) initWithDelegate:(id<RewardedVideoLevelPlayCallbacksWrapper>)delegate;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@ -1,27 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53f085b74e6634bf8938e8dcc6deff48
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,59 +0,0 @@
|
||||
//
|
||||
// RewardedVideoLevelPlayCallbacksWrapper.m
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
||||
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RewardedVideoLevelPlayCallbacksWrapper.h"
|
||||
|
||||
@implementation RewardedVideoLevelPlayCallbacksWrapper
|
||||
-(instancetype)initWithDelegate:(id<RewardedVideoLevelPlayCallbacksWrapper>)delegate {
|
||||
self = [super init];
|
||||
|
||||
if (self) {
|
||||
_delegate = delegate;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
- (void)didClick:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate rewardedVideoLevelPlayDidClick:placementInfo withAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didCloseWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate rewardedVideoLevelPlayDidCloseWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate rewardedVideoLevelPlayDidFailToShowWithError:error andAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didOpenWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate rewardedVideoLevelPlayDidOpenWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)didReceiveRewardForPlacement:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate rewardedVideoLevelPlayDidReceiveRewardForPlacement:placementInfo withAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)hasAvailableAdWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate hasAvailableAdWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
- (void)hasNoAvailableAd {
|
||||
[_delegate hasNoAvailableAd];
|
||||
}
|
||||
|
||||
- (void)didFailToLoadWithError:(NSError *)error {
|
||||
[_delegate rewardedVideoLevelPlayDidFailToLoadWithError:error];
|
||||
}
|
||||
|
||||
- (void)didLoadWithAdInfo:(ISAdInfo *)adInfo {
|
||||
[_delegate rewardedVideoLevelPlayDidLoadWithAdInfo:adInfo];
|
||||
}
|
||||
|
||||
@end
|
@ -1,37 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f495ad4980544963beec23d889c73da
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,33 +0,0 @@
|
||||
//
|
||||
// iOSBridge.h
|
||||
// iOSBridge
|
||||
//
|
||||
// Created by Supersonic.
|
||||
// Copyright (c) 2015 Supersonic. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <IronSource/IronSource.h>
|
||||
#import "RewardedVideoLevelPlayCallbacksWrapper.h"
|
||||
#import "InterstitialLevelPlayCallbacksWrapper.h"
|
||||
#import "BannerLevelPlayCallbacksWrapper.h"
|
||||
|
||||
static NSString * UnityGitHash = @"a841514";
|
||||
typedef void (*ISUnityBackgroundCallback)(const char* args);
|
||||
typedef void (*ISUnityPauseGame)(const bool gamePause);
|
||||
|
||||
@interface iOSBridge : NSObject<ISRewardedVideoDelegate,
|
||||
ISDemandOnlyRewardedVideoDelegate,
|
||||
ISInterstitialDelegate,
|
||||
ISDemandOnlyInterstitialDelegate,
|
||||
ISOfferwallDelegate,
|
||||
ISBannerDelegate,
|
||||
ISSegmentDelegate,
|
||||
ISImpressionDataDelegate,
|
||||
ISConsentViewDelegate,
|
||||
ISRewardedVideoManualDelegate,
|
||||
ISInitializationDelegate>
|
||||
|
||||
@end
|
||||
|
||||
|
@ -1,27 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c20735ca3e9394fb5b7a284d5bee100e
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -1,37 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d274c5df3069c447d8bb342872e0ae39
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1b356eb03b687454a873eed3f62927c9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,17 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6dcd730eacb2043e8a6f1c61c16243da, type: 3}
|
||||
m_Name: IronSourceMediatedNetworkSettings
|
||||
m_EditorClassIdentifier:
|
||||
EnableAdmob: 0
|
||||
AdmobAndroidAppId:
|
||||
AdmobIOSAppId:
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce7253a2d729c6a47a739c2db9e0b72c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,21 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d5a679b8640d04834b4f09b8c6adec7a, type: 3}
|
||||
m_Name: IronSourceMediationSettings
|
||||
m_EditorClassIdentifier:
|
||||
AndroidAppKey:
|
||||
IOSAppKey:
|
||||
EnableIronsourceSDKInitAPI: 0
|
||||
AddIronsourceSkadnetworkID: 0
|
||||
DeclareAD_IDPermission: 0
|
||||
EnableAdapterDebug: 0
|
||||
EnableIntegrationHelper: 0
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 95c9a43041b09824cbcdb33cb9d5e075
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1bbaa67142d994184844ed2864338043
|
||||
folderAsset: yes
|
||||
timeCreated: 1486985218
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,22 +0,0 @@
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the available formats for displaying advertisements.
|
||||
/// </summary>
|
||||
public enum AdFormat
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a rewarded video ad format.
|
||||
/// </summary>
|
||||
RewardedVideo,
|
||||
|
||||
/// <summary>
|
||||
/// Represents an interstitial ad format.
|
||||
/// </summary>
|
||||
Interstitial,
|
||||
|
||||
/// <summary>
|
||||
/// Represents a banner ad format.
|
||||
/// </summary>
|
||||
Banner
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8124546645b9349f7858c4510ea7de78
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ffd532cc04826485496fa8f2f3297a29
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f665578d6e194d8ca540e4354f59aaf
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 637cb01eec78d4bbf9fc544b516e3c91
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eac9abe7c14eb496da2bf267ae5298df
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 45bab60683d314f0fb0bc29687323406
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5013c371a692d4a8f919e0fb65008557
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9951bdafc5056462bbc136e9adc4f7f1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7ad572294dc0047d7b3c83416751b2cc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 388ad82402b634912bc5aac2a9a3bfb5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b24d4066642d54d33a8100dd8c4860cb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ac2f395682c74628a5045c3d0971680
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e7eb3a115d054adfa30c15d19855c87
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a074083ed47f464c9e337cce695a621
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue