Removed ironsource

main-FireBaseAuth
Hazim Bin Ijaz 1 month ago
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,10 +0,0 @@
using UnityEditor;
namespace IronSource.Editor
{
public interface IAdapterSettings
{
void updateProject(BuildTarget buildTarget, string projectPath);
void updateProjectPlist(BuildTarget buildTarget, string plistPath);
}
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 5f54b8169c1644296a557ad386705e4c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,88 +0,0 @@
#if UNITY_IOS
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Reflection;
namespace IronSource.Editor
{
public class IronSourceBuildPostprocessor
{
[PostProcessBuild]
public static void OnPostprocessBuild (BuildTarget buildTarget, string buildPath)
{
if (buildTarget == BuildTarget.iOS) {
string projectPath = buildPath + "/Unity-iPhone.xcodeproj/project.pbxproj";
string dirpath = Application.dataPath + "/IronSource/Editor/";
string currentNamespace = MethodBase.GetCurrentMethod().DeclaringType.Namespace;
updateProject (buildTarget, projectPath);
if (Directory.Exists (dirpath)) {
//Match the classes that has "Settings" in their name, and don't start with "I"
var files = Directory.GetFiles (dirpath, "*.cs", SearchOption.TopDirectoryOnly).Where (file => Regex.IsMatch (Path.GetFileName (file), "^(?!(IAdapter|IronSource)).+Settings.*$"));
//Go over all the adapter settings classes, and call their updateProject method
foreach (string file in files) {
string classname = Path.GetFileNameWithoutExtension (file);
if (!String.IsNullOrEmpty (classname)) {
IAdapterSettings adapter = (IAdapterSettings)Activator.CreateInstance (Type.GetType (currentNamespace + "." + classname));
adapter.updateProject (buildTarget, projectPath);
}
}
}
}
Debug.Log ("IronSource build postprocessor finished");
}
private static void updateProject (BuildTarget buildTarget, string projectPath)
{
Debug.Log ("IronSource - Update project for IronSource");
PBXProject project = new PBXProject ();
project.ReadFromString (File.ReadAllText (projectPath));
string targetId;
#if UNITY_2019_3_OR_NEWER
targetId = project.GetUnityMainTargetGuid();
#else
targetId = project.TargetGuidByName(PBXProject.GetUnityTargetName());
#endif
// Required System Frameworks
project.AddFrameworkToProject (targetId, "AdSupport.framework", false);
project.AddFrameworkToProject (targetId, "AudioToolbox.framework", false);
project.AddFrameworkToProject (targetId, "AVFoundation.framework", false);
project.AddFrameworkToProject (targetId, "CoreGraphics.framework", false);
project.AddFrameworkToProject (targetId, "CoreMedia.framework", false);
project.AddFrameworkToProject (targetId, "CoreTelephony.framework", false);
project.AddFrameworkToProject (targetId, "CoreVideo.framework", false);
project.AddFrameworkToProject (targetId, "CFNetwork.framework", false);
project.AddFrameworkToProject (targetId, "Foundation.framework", false);
project.AddFrameworkToProject (targetId, "MobileCoreServices.framework", false);
project.AddFrameworkToProject (targetId, "QuartzCore.framework", false);
project.AddFrameworkToProject (targetId, "Security.framework", false);
project.AddFrameworkToProject (targetId, "StoreKit.framework", false);
project.AddFrameworkToProject (targetId, "SystemConfiguration.framework", false);
project.AddFrameworkToProject (targetId, "WebKit.framework", false);
project.AddFileToBuild (targetId, project.AddFile ("usr/lib/libz.tbd", "Frameworks/libz.tbd", PBXSourceTree.Sdk));
// Custom Link Flag
project.AddBuildProperty (targetId, "OTHER_LDFLAGS", "-ObjC");
File.WriteAllText (projectPath, project.WriteToString ());
}
}
}
#endif

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 86dba1de3972d4e12bf4394b00bc57c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,607 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
using IronSourceJSON;
using UnityEditor;
using UnityEngine;
using UnityEngine.Networking;
public class IronSourceDependenciesManager : EditorWindow
{
private readonly SortedSet<ProviderInfo> providersSet = new SortedSet<ProviderInfo>(new ProviderInfoComparor());
private ProviderInfo ironSourceProviderInfo;
private ProviderInfo unityAdsProviderInfo;
private UnityWebRequest downloadWebClient;
private string messageData;
private IronSourceEditorCoroutines mEditorCoroutines;
private static string latestUnitySDKVersion;
private GUIStyle headerStyle;
private GUIStyle textStyle;
private GUIStyle boldTextStyle;
private readonly GUILayoutOption buttonWidth = GUILayout.Width(90);
public class ProviderInfo
{
public Status currentStatues;
public string providerName;
public string currentUnityVersion;
public string latestUnityVersion;
public string latestUnityAdsVersion;
public string downloadURL;
public string displayProviderName;
public bool isNewProvider;
public string fileName;
public Dictionary<string, string> sdkVersionDic;
public ProviderInfo()
{
isNewProvider = false;
fileName = string.Empty;
downloadURL = string.Empty;
currentUnityVersion = IronSourceDependenciesManagerConstants.NONE;
sdkVersionDic = new Dictionary<string, string>();
}
public enum Status
{
INSTALLED = 1,
NONE = 2,
UPDATED = 3
}
public bool SetProviderDataProperties(string provider, Dictionary<string, object> providerData, Dictionary<string, object> providerXML)
{
providerName = provider;
object obj;
if (providerData.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_KEY_NAME, out obj))
{
displayProviderName = obj as string;
}
else { displayProviderName = providerName; }
if (providerData.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_IS_NEW, out obj))
{
isNewProvider = bool.Parse(obj as string);
}
if (providerXML.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_DOWNLOAD_URL, out obj))
{
downloadURL = obj as string;
}
if (providerXML.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_FILE_NAME, out obj))
{
fileName = obj as string;
}
if (providerData.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_ANDROID_SDK_VER, out obj))
{
sdkVersionDic.Add(IronSourceDependenciesManagerConstants.ANDROID, obj as string);
}
if (providerData.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_IOS_SDK_VER, out obj))
{
sdkVersionDic.Add(IronSourceDependenciesManagerConstants.IOS, obj as string);
}
if (providerData.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_UNITY_ADAPTER_VERSION, out obj))
{
if ((providerName.ToLower() != IronSourceDependenciesManagerConstants.IRONSOURCE))
{
latestUnityVersion = obj as string;
}
else
{
latestUnityVersion = latestUnitySDKVersion;
}
downloadURL = downloadURL.Replace(IronSourceDependenciesManagerConstants.UNITY_ADAPTER_MACRO, latestUnityVersion);
}
if (providerData.TryGetValue(IronSourceDependenciesManagerConstants.PROVIDER_UNITY_ADAPTER_VERSION, out obj))
{
if ((providerName.ToLower() == IronSourceDependenciesManagerConstants.UNITYADS))
{
latestUnityAdsVersion = obj as string;
}
downloadURL = downloadURL.Replace(IronSourceDependenciesManagerConstants.UNITY_ADAPTER_MACRO, latestUnityVersion);
}
currentUnityVersion = GetVersionFromXML(fileName);
if (currentUnityVersion.Equals(IronSourceDependenciesManagerConstants.NONE))
{
currentStatues = Status.NONE;
}
else
{
if (isNewerVersion(currentUnityVersion, latestUnityVersion))
{
currentStatues = Status.INSTALLED;
}
else
{
currentStatues = Status.UPDATED;
}
}
return true;
}
}
private static string GetVersionFromXML(string fileName)
{
XmlDocument xmlDoc = new XmlDocument();
string version = IronSourceDependenciesManagerConstants.NONE;
try
{
xmlDoc.LoadXml(File.ReadAllText(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR + fileName));
}
catch (Exception)
{
return version;
}
var unityVersion = xmlDoc.SelectSingleNode(IronSourceDependenciesManagerConstants.IRONSOURCE_XML_PATH);
if (unityVersion != null)
{
return (unityVersion.InnerText);
}
File.Delete(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR + fileName);
return version;
}
private IEnumerator SetProviderData()
{
UnityWebRequest unityWebRequestLinkJson = UnityWebRequest.Get(IronSourceDependenciesManagerConstants.IRONSOURCE_SDK_XML_LINKS);
UnityWebRequest unityWebRequesInfoJson = UnityWebRequest.Get(IronSourceDependenciesManagerConstants.IRONSOURCE_SDK_INFO);
var webRequestLinks = unityWebRequestLinkJson.SendWebRequest();
var webRequestSDKInfo = unityWebRequesInfoJson.SendWebRequest();
while (!webRequestLinks.isDone || !webRequestSDKInfo.isDone)
{
yield return new WaitForSeconds(0.1f);
}
#if UNITY_2020_1_OR_NEWER
if (unityWebRequestLinkJson.result != UnityWebRequest.Result.ProtocolError && unityWebRequesInfoJson.result != UnityWebRequest.Result.ProtocolError)
#else
if (!unityWebRequestLinkJson.isHttpError && !unityWebRequestLinkJson.isNetworkError && !unityWebRequesInfoJson.isError && !unityWebRequesInfoJson.isHttpError)
#endif
{
string linksJson = unityWebRequestLinkJson.downloadHandler.text;
string SDKInfoJson = unityWebRequesInfoJson.downloadHandler.text;
providersSet.Clear();
Dictionary<string, object> linksDictionary = new Dictionary<string, object>();
Dictionary<string, object> SDKInfoDictionary = new Dictionary<string, object>();
try
{
linksDictionary = Json.Deserialize(linksJson) as Dictionary<string, object>;
SDKInfoDictionary = Json.Deserialize(SDKInfoJson) as Dictionary<string, object>;
}
catch (Exception e)
{
Debug.Log("Error getting response " + e.ToString());
}
if (SDKInfoDictionary != null && SDKInfoDictionary.Count != 0 && linksDictionary != null && linksDictionary.Count != 0)
{
string requiredVersion;
object providersJson;
ironSourceProviderInfo = new ProviderInfo();
unityAdsProviderInfo = new ProviderInfo();
ironSourceProviderInfo.currentUnityVersion = GetVersionFromXML(IronSourceDependenciesManagerConstants.IRONSOURCE_XML);
SDKInfoDictionary.TryGetValue(IronSourceDependenciesManagerConstants.LATEST_SDK_VERSION, out providersJson);
latestUnitySDKVersion = providersJson.ToString();
ironSourceProviderInfo.latestUnityVersion = providersJson.ToString();
requiredVersion = (ironSourceProviderInfo.currentUnityVersion == IronSourceDependenciesManagerConstants.NONE) ? ironSourceProviderInfo.latestUnityVersion : ironSourceProviderInfo.currentUnityVersion;
if (SDKInfoDictionary.TryGetValue(requiredVersion, out providersJson))
{
if (providersJson != null)
{
foreach (var item in providersJson as Dictionary<string, object>)
{
ProviderInfo info = new ProviderInfo();
object providerXML;
var lowerCaseItem = item.Key.ToLower(new System.Globalization.CultureInfo("en"));
linksDictionary.TryGetValue(lowerCaseItem, out providerXML);
if (info.SetProviderDataProperties(item.Key, item.Value as Dictionary<string, object>, providerXML as Dictionary<string, object>))
{
if (item.Key.ToLower().Contains(IronSourceDependenciesManagerConstants.IRONSOURCE))
{
ironSourceProviderInfo.displayProviderName = info.displayProviderName;
ironSourceProviderInfo.downloadURL = info.downloadURL;
ironSourceProviderInfo.providerName = info.providerName;
ironSourceProviderInfo.sdkVersionDic = info.sdkVersionDic;
ironSourceProviderInfo.fileName = info.fileName;
ironSourceProviderInfo.currentStatues = info.currentStatues;
}
else
{
if (item.Key.ToLower().Contains(IronSourceDependenciesManagerConstants.UNITYADS)) {
if (item.Key.ToLower().Contains(IronSourceDependenciesManagerConstants.UNITYADS))
{
if (File.Exists(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR + IronSourceDependenciesManagerConstants.UNITYADS_XML))
{
unityAdsProviderInfo.currentUnityVersion = GetVersionFromXML(IronSourceDependenciesManagerConstants.UNITYADS_XML);
unityAdsProviderInfo.latestUnityVersion = info.latestUnityAdsVersion;
}
else {
unityAdsProviderInfo.currentUnityVersion = "none";
}
unityAdsProviderInfo.latestUnityVersion = info.latestUnityAdsVersion;
unityAdsProviderInfo.displayProviderName = info.displayProviderName;
unityAdsProviderInfo.downloadURL = info.downloadURL;
unityAdsProviderInfo.providerName = info.providerName;
unityAdsProviderInfo.sdkVersionDic = info.sdkVersionDic;
unityAdsProviderInfo.fileName = info.fileName;
unityAdsProviderInfo.currentStatues = info.currentStatues;
}
} else {
providersSet.Add(info);
}
}
}
}
}
}
if (ironSourceProviderInfo.currentStatues == ProviderInfo.Status.INSTALLED || ironSourceProviderInfo.currentStatues == ProviderInfo.Status.NONE)
{
if (SDKInfoDictionary.TryGetValue(IronSourceDependenciesManagerConstants.UPDATE_MSG, out providersJson))
{
messageData = providersJson.ToString();
}
}
else
{
if (SDKInfoDictionary.TryGetValue(IronSourceDependenciesManagerConstants.LATEST_MSG, out providersJson))
{
messageData = providersJson.ToString();
}
}
}
}
Repaint();
}
private void CancelDownload()
{
// if downloader object is still active
if (downloadWebClient != null)
{
downloadWebClient.Abort();
return;
}
if (mEditorCoroutines != null)
{
mEditorCoroutines.StopEditorCoroutine();
mEditorCoroutines = null;
}
downloadWebClient = null;
}
public static void ShowISDependenciesManager()
{
var win = GetWindowWithRect<IronSourceDependenciesManager>(new Rect(0, 0, IronSourceDependenciesManagerConstants.WIDTH, IronSourceDependenciesManagerConstants.HEIGHT), true);
win.titleContent = new GUIContent(IronSourceDependenciesManagerConstants.INTERGRATION_MANAGER_TITLE);
win.Focus();
}
void Awake()
{
headerStyle = new GUIStyle(EditorStyles.label)
{
fontStyle = FontStyle.Bold,
fontSize = 14,
fixedHeight = 20,
stretchWidth = true,
fixedWidth = IronSourceDependenciesManagerConstants.WIDTH / 4 + 5,
clipping = TextClipping.Overflow,
alignment = TextAnchor.MiddleLeft
};
textStyle = new GUIStyle(EditorStyles.label)
{
fontStyle = FontStyle.Normal,
alignment = TextAnchor.MiddleLeft
};
boldTextStyle = new GUIStyle(EditorStyles.label)
{
fontStyle = FontStyle.Bold
};
CancelDownload();
}
private void OnEnable()
{
mEditorCoroutines = IronSourceEditorCoroutines.StartEditorCoroutine(SetProviderData());
}
private void OnDestroy()
{
CancelDownload();
AssetDatabase.Refresh();
}
void DrawProviderItem(ProviderInfo providerData)
{
if (!providerData.Equals(default(ProviderInfo)))
{
using (new EditorGUILayout.HorizontalScope(GUILayout.ExpandWidth(false)))
{
GUI.enabled = true;
bool isNew = providerData.isNewProvider;
string isNewAddition = isNew ? IronSourceDependenciesManagerConstants.NEW_NETWORK : string.Empty;
string tooltipText = IronSourceDependenciesManagerConstants.TOOLTIP_LATEST_VERSION + " \n " + providerData.providerName + " " + IronSourceDependenciesManagerConstants.TOOLTIP_ADAPTER_VERSION + " " + providerData.latestUnityVersion;
if (providerData.sdkVersionDic.TryGetValue(IronSourceDependenciesManagerConstants.ANDROID, out string androidVersion))
{
tooltipText = tooltipText + "\n " + IronSourceDependenciesManagerConstants.TOOLTIP_ANDROID_SDK + " " + androidVersion;
}
if (providerData.sdkVersionDic.TryGetValue(IronSourceDependenciesManagerConstants.IOS, out string iosVersion))
{
tooltipText = tooltipText + "\n " + IronSourceDependenciesManagerConstants.TOOLTIP_IOS_SDK + " " + iosVersion;
}
EditorGUILayout.LabelField(providerData.displayProviderName + isNewAddition, isNew ? boldTextStyle : textStyle);
EditorGUILayout.LabelField(providerData.currentUnityVersion, textStyle);
EditorGUILayout.LabelField(providerData.latestUnityVersion, textStyle);
string downloadButtonText;
switch (providerData.currentStatues)
{
case ProviderInfo.Status.NONE:
downloadButtonText = IronSourceDependenciesManagerConstants.LABEL_INSTALL;
break;
case ProviderInfo.Status.INSTALLED:
downloadButtonText = IronSourceDependenciesManagerConstants.LABEL_UPDATE;
break;
default:
downloadButtonText = IronSourceDependenciesManagerConstants.LABEL_UPDATED;
GUI.enabled = false;
break;
}
GUIContent gUIContent = new GUIContent
{
text = downloadButtonText,
tooltip = tooltipText
};
bool btn = GUILayout.Button(gUIContent, buttonWidth);
if (btn && downloadWebClient == null)
{
GUI.enabled = true;
IronSourceEditorCoroutines.StartEditorCoroutine(DownloadFile(providerData.downloadURL));
}
GUILayout.Space(5);
GUI.enabled = true;
}
}
}
void OnGUI()
{
if (ironSourceProviderInfo == null)
{
GUILayout.Label(IronSourceDependenciesManagerConstants.ERROR_NOT_AVAILABLE);
return;
}
GUILayout.Space(10);
using (new EditorGUILayout.VerticalScope("box"))
{
DrawSDKHeader();
GUILayout.Space(5);
GUILayout.BeginHorizontal();
DrawProviderItem(ironSourceProviderInfo);
GUILayout.Space(5);
GUILayout.EndHorizontal();
GUILayout.Space(5);
GUILayout.BeginHorizontal();
DrawProviderItem(unityAdsProviderInfo);
GUILayout.Space(5);
GUILayout.EndHorizontal();
GUILayout.Space(5);
}
GUILayout.Space(15);
DrawAdaptersHeader();
GUILayout.Space(15);
foreach (var provider in providersSet)
{
DrawProviderItem(provider);
GUILayout.Space(2);
}
GUILayout.Space(30);
if (!string.IsNullOrEmpty(messageData))
{
using (new EditorGUILayout.VerticalScope("box", GUILayout.ExpandHeight(true)))
{
GUILayout.Space(5);
using (new EditorGUILayout.HorizontalScope(GUILayout.ExpandWidth(false)))
{
EditorGUILayout.SelectableLabel(messageData, EditorStyles.textField, GUILayout.ExpandWidth(true), GUILayout.ExpandHeight(true));
}
GUILayout.Space(5);
}
using (new EditorGUILayout.VerticalScope(GUILayout.ExpandHeight(false)))
{
GUILayout.Space(15);
}
}
}
private void DrawSDKHeader()
{
using (new EditorGUILayout.HorizontalScope(GUILayout.ExpandWidth(false)))
{
EditorGUILayout.LabelField(IronSourceDependenciesManagerConstants.LABEL_CURRENT_SDK, new GUIStyle(EditorStyles.label)
{
fontStyle = FontStyle.Bold,
fontSize = 13,
fixedHeight = 20,
stretchWidth = true,
fixedWidth = IronSourceDependenciesManagerConstants.WIDTH / 4,
clipping = TextClipping.Overflow,
padding = new RectOffset(IronSourceDependenciesManagerConstants.WIDTH / 4 + 15, 0, 0, 0)
});
GUILayout.Space(85);
EditorGUILayout.LabelField(IronSourceDependenciesManagerConstants.LABEL_LATEST_SDK, new GUIStyle(EditorStyles.label)
{
fontStyle = FontStyle.Bold,
fontSize = 13,
fixedHeight = 20,
stretchWidth = true,
fixedWidth = Screen.width / 4,
clipping = TextClipping.Overflow,
});
}
}
private void DrawAdaptersHeader()
{
using (new EditorGUILayout.HorizontalScope(GUILayout.ExpandWidth(false)))
{
EditorGUILayout.LabelField(IronSourceDependenciesManagerConstants.LABEL_NETWORK, headerStyle);
EditorGUILayout.LabelField(IronSourceDependenciesManagerConstants.LABEL_CURRENT_SDK, headerStyle);
EditorGUILayout.LabelField(IronSourceDependenciesManagerConstants.LABEL_LATEST_SDK, headerStyle);
GUILayout.Space(30);
EditorGUILayout.LabelField(IronSourceDependenciesManagerConstants.LABEL_Action, headerStyle);
}
}
private IEnumerator DownloadFile(string downloadFileUrl)
{
int fileNameIndex = downloadFileUrl.LastIndexOf("/") + 1;
string downloadFileName = downloadFileUrl.Substring(fileNameIndex);
string fileDownloading = string.Format("Downloading {0}", downloadFileName);
string genericFileName = Regex.Replace(downloadFileName, @"_v+(\d\.\d\.\d\.\d|\d\.\d\.\d)", "");
string path = Path.Combine(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR, genericFileName);
bool isCancelled = false;
downloadWebClient = new UnityWebRequest(downloadFileUrl);
downloadWebClient.downloadHandler = new DownloadHandlerFile(path);
downloadWebClient.SendWebRequest();
#if UNITY_2020_1_OR_NEWER
if (downloadWebClient.result != UnityWebRequest.Result.ProtocolError)
#else
if (!downloadWebClient.isHttpError && !downloadWebClient.isNetworkError)
#endif
{
while (!downloadWebClient.isDone)
{
yield return new WaitForSeconds(0.1f);
if (EditorUtility.DisplayCancelableProgressBar("Download Manager", fileDownloading, downloadWebClient.downloadProgress))
{
if (downloadWebClient.error != null)
{
Debug.LogError(downloadWebClient.error);
}
CancelDownload();
isCancelled = true;
}
}
}
else
{
Debug.LogError("Error Downloading " + genericFileName + " : " + downloadWebClient.error);
}
EditorUtility.ClearProgressBar();
if (genericFileName.EndsWith(".unitypackage") && !isCancelled)
{
AssetDatabase.ImportPackage(Path.Combine(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR, genericFileName), true);
}
else
{
// in case the download was cancelled, delete the file
if (isCancelled && File.Exists(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR + genericFileName))
{
File.Delete(IronSourceDependenciesManagerConstants.IRONSOURCE_DOWNLOAD_DIR + genericFileName);
}
IronSourceEditorCoroutines.StartEditorCoroutine(SetProviderData());
}
//clean the downloadWebClient object regardless of whether the request succeeded or failed
downloadWebClient.Dispose();
downloadWebClient = null;
IronSourceEditorCoroutines.StartEditorCoroutine(SetProviderData());
}
private static bool isNewerVersion(string current, string latest)
{
bool isNewer = false;
try
{
int[] currentVersion = Array.ConvertAll(current.Split('.'), int.Parse);
int[] remoteVersion = Array.ConvertAll(latest.Split('.'), int.Parse);
int remoteBuild = 0;
int curBuild = 0;
if (currentVersion.Length > 3)
{
curBuild = currentVersion[3];
}
if (remoteVersion.Length > 3)
{
remoteBuild = remoteVersion[3];
}
System.Version cur = new System.Version(currentVersion[0], currentVersion[1], currentVersion[2], curBuild);
System.Version remote = new System.Version(remoteVersion[0], remoteVersion[1], remoteVersion[2], remoteBuild);
isNewer = cur < remote;
}
catch (Exception)
{
}
return isNewer;
}
internal class ProviderInfoComparor : IComparer<ProviderInfo>
{
public int Compare(ProviderInfo x, ProviderInfo y)
{
return x.providerName.CompareTo(y.providerName);
}
}
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 178cc3b63946b4aeea47a9a62e7184e0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,55 +0,0 @@
public static class IronSourceDependenciesManagerConstants
{
internal const string SDK = "sdk";
internal const int WIDTH = 760;
internal const int HEIGHT = 760;
internal const string ANDROID = "Android";
internal const string IOS = "iOS";
internal const string IRONSOURCE = "ironsource";
internal const string UNITYADS = "unityads";
internal const string NONE = "none";
//path const
internal const string IRONSOURCE_SDK_INFO = "https://s3.amazonaws.com/ssa.public/Integration-Manager/IronSourceSDKInfo.json";
internal const string IRONSOURCE_SDK_XML_LINKS = "https://s3.amazonaws.com/ssa.public/Integration-Manager/IronSourceSDKLinks.json";
internal const string IRONSOURCE_DOWNLOAD_DIR = "Assets/IronSource/Editor/";
internal const string IRONSOURCE_XML = "IronSourceSDKDependencies.xml";
internal const string UNITYADS_XML = "ISUnityAdsAdapterDependencies.xml";
internal const string IRONSOURCE_XML_PATH = "dependencies/unityversion";
//xml macro
internal const string UNITY_ADAPTER_MACRO = "${UnityAdapterVersion}";
//jsonInfo keys
internal const string LATEST_SDK_VERSION = "latest";
internal const string PROVIDER_KEY_NAME = "keyname";
internal const string PROVIDER_IS_NEW = "isNewProvider";
internal const string PROVIDER_ANDROID_SDK_VER = "AndroidSDKVersion";
internal const string PROVIDER_IOS_SDK_VER = "iOSSDKVersion";
internal const string PROVIDER_UNITY_ADAPTER_VERSION = "UnityAdapterVersion";
//jsonlinks keys
internal const string PROVIDER_DOWNLOAD_URL = "DownloadUrl";
internal const string PROVIDER_FILE_NAME = "FileName";
//UI constants
internal const string UPDATE_MSG = "UpdateMessage";
internal const string LATEST_MSG = "LatestMessage";
internal const string LABEL_INSTALL = "Install";
internal const string LABEL_UPDATE = "Update";
internal const string LABEL_UPDATED = "Updated";
internal const string LABEL_Action = "Action";
internal const string LABEL_NETWORK = "Network";
internal const string LABEL_CURRENT_SDK = "Current Adapter Version";
internal const string LABEL_LATEST_SDK = "Latest Adapter Version";
internal const string TOOLTIP_ANDROID_SDK = "Android SDK version";
internal const string TOOLTIP_IOS_SDK = "iOS SDK version";
internal const string TOOLTIP_LATEST_VERSION = "Latest Version:";
internal const string TOOLTIP_ADAPTER_VERSION = "Adapter Version";
internal const string NEW_NETWORK = " - New Network";
internal const string INTERGRATION_MANAGER_TITLE = "LevelPlay Integration Manager";
internal const string ERROR_NOT_AVAILABLE = "SDK and adapters data are not available right now. Try again soon.";
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 5e0bdfd009e0d4e0ea8ddeeb30053163
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,37 +0,0 @@
using UnityEditor;
using System.Collections;
public class IronSourceEditorCoroutines
{
readonly IEnumerator mRoutine;
public static IronSourceEditorCoroutines StartEditorCoroutine( IEnumerator routine)
{
IronSourceEditorCoroutines coroutine = new IronSourceEditorCoroutines(routine);
coroutine.start();
return coroutine;
}
IronSourceEditorCoroutines(IEnumerator routine)
{
mRoutine = routine;
}
void start()
{
EditorApplication.update += update;
}
void update()
{
if(!mRoutine.MoveNext())
{
StopEditorCoroutine();
}
}
public void StopEditorCoroutine()
{
EditorApplication.update -= update;
}
}

@ -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,27 +0,0 @@
using System.IO;
using UnityEditor;
[CustomEditor(typeof(IronSourceMediatedNetworkSettings))]
public class IronSourceMediatedNetworkSettingsInspector : UnityEditor.Editor
{
private static IronSourceMediatedNetworkSettings ironSourceMediatedNetworkSettings;
public static IronSourceMediatedNetworkSettings IronSourceMediatedNetworkSettings
{
get
{
if (ironSourceMediatedNetworkSettings == null)
{
ironSourceMediatedNetworkSettings = AssetDatabase.LoadAssetAtPath<IronSourceMediatedNetworkSettings>(IronSourceMediatedNetworkSettings.MEDIATION_SETTINGS_ASSET_PATH);
if (ironSourceMediatedNetworkSettings == null)
{
IronSourceMediatedNetworkSettings asset = CreateInstance<IronSourceMediatedNetworkSettings>();
Directory.CreateDirectory(IronSourceConstants.IRONSOURCE_RESOURCES_PATH);
AssetDatabase.CreateAsset(asset, IronSourceMediatedNetworkSettings.MEDIATION_SETTINGS_ASSET_PATH);
ironSourceMediatedNetworkSettings = asset;
}
}
return ironSourceMediatedNetworkSettings;
}
}
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 6ddcb1096c420410ead13befae195114
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,27 +0,0 @@
using System.IO;
using UnityEditor;
[CustomEditor(typeof(IronSourceMediationSettings))]
public class IronSourceMediationSettingsInspector : UnityEditor.Editor
{
private static IronSourceMediationSettings ironSourceMediationSettings;
public static IronSourceMediationSettings IronSourceMediationSettings
{
get
{
if (ironSourceMediationSettings == null)
{
ironSourceMediationSettings = AssetDatabase.LoadAssetAtPath<IronSourceMediationSettings>(IronSourceMediationSettings.IRONSOURCE_SETTINGS_ASSET_PATH);
if (ironSourceMediationSettings == null)
{
IronSourceMediationSettings asset = CreateInstance<IronSourceMediationSettings>();
Directory.CreateDirectory(IronSourceConstants.IRONSOURCE_RESOURCES_PATH);
AssetDatabase.CreateAsset(asset, IronSourceMediationSettings.IRONSOURCE_SETTINGS_ASSET_PATH);
ironSourceMediationSettings = asset;
}
}
return ironSourceMediationSettings;
}
}
}

@ -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,133 +0,0 @@

#if UNITY_IOS || UNITY_IPHONE
using System.IO;
using UnityEditor.Callbacks;
using UnityEditor;
using System;
using UnityEngine;
using UnityEditor.iOS.Xcode;
using System.Text.RegularExpressions;
/// <summary>
/// PostProcessor script to automatically fill all required dependencies
/// </summary>
public class IronSourcePlistProcessor
{
[PostProcessBuild]
public static void OnPostprocessBuild(BuildTarget buildTarget, string buildPath)
{
if (File.Exists(IronSourceMediationSettings.IRONSOURCE_SETTINGS_ASSET_PATH))
{
if (buildTarget == BuildTarget.iOS)
{
/*
* PBXProject
*/
string plistPath = Path.Combine(buildPath, "Info.plist");
PBXProject project = new PBXProject();
string projectPath = PBXProject.GetPBXProjectPath(buildPath);
project.ReadFromFile(projectPath);
PlistDocument plist = new PlistDocument();
plist.ReadFromString(File.ReadAllText(plistPath));
if (plist != null)
{
// Get root
PlistElementDict rootDict = plist.root;
// Check if SKAdNetworkItems already exists
PlistElementArray SKAdNetworkItems = null;
if (rootDict.values.ContainsKey("SKAdNetworkItems"))
{
try
{
SKAdNetworkItems = rootDict.values["SKAdNetworkItems"] as PlistElementArray;
}
catch (Exception e)
{
Debug.LogWarning(string.Format("Could not obtain SKAdNetworkItems PlistElementArray: {0}", e.Message));
}
}
//Add IronSource's SKAdNetwork ID
if (IronSourceMediationSettingsInspector.IronSourceMediationSettings.AddIronsourceSkadnetworkID)
{
// If not exists, create it
if (SKAdNetworkItems == null)
{
SKAdNetworkItems = rootDict.CreateArray("SKAdNetworkItems");
}
string plistContent = File.ReadAllText(plistPath);
if (!plistContent.Contains(IronSourceConstants.IRONSOURCE_SKAN_ID_KEY))
{
PlistElementDict SKAdNetworkIdentifierDict = SKAdNetworkItems.AddDict();
SKAdNetworkIdentifierDict.SetString("SKAdNetworkIdentifier", IronSourceConstants.IRONSOURCE_SKAN_ID_KEY);
}
}
File.WriteAllText(plistPath, plist.WriteToString());
}
}
}
if ( File.Exists(IronSourceMediatedNetworkSettings.MEDIATION_SETTINGS_ASSET_PATH))
{
if (buildTarget == BuildTarget.iOS)
{
/*
* PBXProject
*/
string plistPath = Path.Combine(buildPath, "Info.plist");
PBXProject project = new PBXProject();
string projectPath = PBXProject.GetPBXProjectPath(buildPath);
project.ReadFromFile(projectPath);
PlistDocument plist = new PlistDocument();
plist.ReadFromString(File.ReadAllText(plistPath));
if (plist != null)
{
// Get root
PlistElementDict rootDict = plist.root;
//Adding AdMob App ID to Plist
if (IronSourceMediatedNetworkSettingsInspector.IronSourceMediatedNetworkSettings.EnableAdmob == true)
{
string appId = IronSourceMediatedNetworkSettingsInspector.IronSourceMediatedNetworkSettings.AdmobIOSAppId;
if (appId.Length == 0)
{
StopBuildWithMessage(
"iOS AdMob app ID is empty. Please enter your app ID to run ads properly");
}
else if (!Regex.IsMatch(appId, "^[a-zA-Z0-9-~]*$"))
{
StopBuildWithMessage(
"iOS AdMob app ID is not valid. Please enter a valid app ID to run ads properly");
}
else
{
plist.root.SetString("GADApplicationIdentifier", appId);
}
}
File.WriteAllText(plistPath, plist.WriteToString());
}
}
}
}
private static void StopBuildWithMessage(string message)
{
string prefix = "[IronSourceApplicationSettings] ";
EditorUtility.DisplayDialog(
"IronSource Developer Settings", "Error: " + message, "", "");
#if UNITY_2017_1_OR_NEWER
throw new BuildPlayerWindow.BuildMethodException(prefix + message);
#else
throw new OperationCanceledException(prefix + message);
#endif
}
}
#endif

@ -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,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ironsource.unity">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application>
<!-- AdMob -->
<!--As Requiered By Admob please add your App ID-->
<!--<meta-data-->
<!--android:name="com.google.android.gms.ads.APPLICATION_ID"-->
<!--android:value="YOUR_ADMOB_APP_ID"/>-->
</application>
</manifest>

@ -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:

@ -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,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,386 +0,0 @@
#if UNITY_ANDROID
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System;
public class AndroidAgent : IronSourceIAgent
{
static AndroidJavaObject _androidBridge;
readonly static string AndroidBridge = "com.ironsource.unity.androidbridge.AndroidBridge";
const string REWARD_AMOUNT = "reward_amount";
const string REWARD_NAME = "reward_name";
const string PLACEMENT_NAME = "placement_name";
const string WATERFALL_CONFIG_FLOOR = "floor";
const string WATERFALL_CONFIG_CEILING = "ceiling";
const string WATERFALL_CONFIG_API = "setWaterfallConfiguration";
public AndroidAgent ()
{
initEventsDispatcher();
}
#region IronSourceIAgent implementation
public AndroidJavaObject getBridge ()
{
if (_androidBridge == null)
using (var pluginClass = new AndroidJavaClass( AndroidBridge ))
_androidBridge = pluginClass.CallStatic<AndroidJavaObject> ("getInstance");
return _androidBridge;
}
private void initEventsDispatcher()
{
IronSourceEventsDispatcher.initialize();
}
//******************* Base API *******************//
/// <summary>
/// Allows publishers to set configurations for a waterfall of a given ad type.
/// </summary>
/// <param name="waterfallConfiguration">The configuration for the given ad types waterfall. </param>
/// <param name="adFormat">The AdFormat for which to configure the waterfall.</param>
public void SetWaterfallConfiguration(WaterfallConfiguration waterfallConfiguration, AdFormat adFormat)
{
var ceiling = waterfallConfiguration.Ceiling;
var floor = waterfallConfiguration.Floor;
var dict = new Dictionary<string, string>();
if (ceiling.HasValue)
{
dict.Add(WATERFALL_CONFIG_CEILING, ceiling.Value.ToString(CultureInfo.InvariantCulture));
}
if (floor.HasValue)
{
dict.Add(WATERFALL_CONFIG_FLOOR, floor.Value.ToString(CultureInfo.InvariantCulture));
}
var json = IronSourceJSON.Json.Serialize(dict);
string stringAdFormat;
switch (adFormat)
{
case AdFormat.RewardedVideo:
stringAdFormat = "REWARDED_VIDEO";
break;
case AdFormat.Interstitial:
stringAdFormat = "INTERSTITIAL";
break;
case AdFormat.Banner:
stringAdFormat = "BANNER";
break;
default:
return;
}
getBridge().Call(WATERFALL_CONFIG_API, json, stringAdFormat);
}
public void onApplicationPause (bool pause)
{
if (pause)
{
getBridge ().Call ("onPause");
}
else
{
getBridge ().Call ("onResume");
}
}
public string getAdvertiserId ()
{
return getBridge ().Call<string> ("getAdvertiserId");
}
public void validateIntegration ()
{
getBridge ().Call ("validateIntegration");
}
public void shouldTrackNetworkState (bool track)
{
getBridge ().Call ("shouldTrackNetworkState", track);
}
public bool setDynamicUserId (string dynamicUserId)
{
return getBridge ().Call<bool> ("setDynamicUserId", dynamicUserId);
}
public void setAdaptersDebug(bool enabled)
{
getBridge ().Call ("setAdaptersDebug", enabled);
}
public void setMetaData(string key, string value)
{
getBridge().Call("setMetaData", key, value);
}
public void setMetaData(string key, params string[] values)
{
getBridge().Call("setMetaData", key, values);
}
public int? getConversionValue()
{
return null;
}
public void setManualLoadRewardedVideo(bool isOn)
{
getBridge().Call("setManualLoadRewardedVideo", isOn);
}
public void setNetworkData(string networkKey, string networkData)
{
getBridge().Call("setNetworkData", networkKey, networkData);
}
public void SetPauseGame (bool pause)
{
}
//******************* SDK Init *******************//
public void setUserId(string userId) {
getBridge ().Call ("setUserId", userId);
}
public void init(string appKey)
{
getBridge ().Call ("setPluginData", "Unity", IronSource.pluginVersion (), IronSource.unityVersion ());
Debug.Log ("IntegrationHelper pluginVersion: " + IronSource.pluginVersion ());
getBridge ().Call ("init", appKey);
}
public void init (string appKey, params string[] adUnits)
{
getBridge ().Call ("setPluginData", "Unity", IronSource.pluginVersion (), IronSource.unityVersion ());
Debug.Log ("IntegrationHelper pluginVersion: " + IronSource.pluginVersion ());
getBridge ().Call ("init", appKey, adUnits);
}
public void initISDemandOnly (string appKey, params string[] adUnits)
{
getBridge ().Call ("setPluginData", "Unity", IronSource.pluginVersion (), IronSource.unityVersion ());
Debug.Log ("IntegrationHelper pluginVersion: " + IronSource.pluginVersion ());
getBridge ().Call ("initISDemandOnly", appKey, adUnits);
}
//******************* RewardedVideo API *******************//
public void loadRewardedVideo()
{
getBridge().Call("loadRewardedVideo");
}
public void showRewardedVideo ()
{
getBridge ().Call ("showRewardedVideo");
}
public void showRewardedVideo (string placementName)
{
getBridge ().Call ("showRewardedVideo", placementName);
}
public bool isRewardedVideoAvailable ()
{
return getBridge ().Call<bool> ("isRewardedVideoAvailable");
}
public bool isRewardedVideoPlacementCapped (string placementName)
{
return getBridge ().Call<bool> ("isRewardedVideoPlacementCapped", placementName);
}
public IronSourcePlacement getPlacementInfo (string placementName)
{
string placementInfo = getBridge ().Call<string> ("getPlacementInfo", placementName);
IronSourcePlacement pInfo = null;
if (placementInfo != null) {
Dictionary<string,object> pInfoDic = IronSourceJSON.Json.Deserialize (placementInfo) as Dictionary<string,object>;
string pName = pInfoDic [PLACEMENT_NAME].ToString ();
string rName = pInfoDic [REWARD_NAME].ToString ();
int rAmount = Convert.ToInt32 (pInfoDic [REWARD_AMOUNT].ToString ());
pInfo = new IronSourcePlacement (pName, rName, rAmount);
}
return pInfo;
}
public void setRewardedVideoServerParams(Dictionary<string, string> parameters) {
string json = IronSourceJSON.Json.Serialize (parameters);
getBridge ().Call ("setRewardedVideoServerParams", json);
}
public void clearRewardedVideoServerParams() {
getBridge ().Call ("clearRewardedVideoServerParams");
}
//******************* RewardedVideo DemandOnly API *******************//
public void showISDemandOnlyRewardedVideo (string instanceId)
{
getBridge ().Call ("showISDemandOnlyRewardedVideo",instanceId);
}
public void loadISDemandOnlyRewardedVideo (string instanceId)
{
getBridge ().Call ("loadISDemandOnlyRewardedVideo", instanceId);
}
public bool isISDemandOnlyRewardedVideoAvailable (string instanceId)
{
return getBridge ().Call<bool> ("isISDemandOnlyRewardedVideoAvailable", instanceId);
}
//******************* Interstitial API *******************//
public void loadInterstitial ()
{
getBridge ().Call ("loadInterstitial");
}
public void showInterstitial ()
{
getBridge ().Call ("showInterstitial");
}
public void showInterstitial (string placementName)
{
getBridge ().Call ("showInterstitial", placementName);
}
public bool isInterstitialReady ()
{
return getBridge ().Call<bool> ("isInterstitialReady");
}
public bool isInterstitialPlacementCapped (string placementName)
{
return getBridge ().Call<bool> ("isInterstitialPlacementCapped", placementName);
}
//******************* Interstitial DemandOnly API *******************//
public void loadISDemandOnlyInterstitial (string instanceId)
{
getBridge ().Call ("loadISDemandOnlyInterstitial",instanceId);
}
public void showISDemandOnlyInterstitial (string instanceId)
{
getBridge ().Call ("showISDemandOnlyInterstitial",instanceId);
}
public bool isISDemandOnlyInterstitialReady (string instanceId)
{
return getBridge ().Call<bool> ("isISDemandOnlyInterstitialReady",instanceId);
}
//******************* Offerwall API *******************//
public void showOfferwall ()
{
getBridge ().Call ("showOfferwall");
}
public void showOfferwall (string placementName)
{
getBridge ().Call ("showOfferwall", placementName);
}
public void getOfferwallCredits ()
{
getBridge ().Call ("getOfferwallCredits");
}
public bool isOfferwallAvailable ()
{
return getBridge ().Call<bool> ("isOfferwallAvailable");
}
//******************* Banner API *******************//
public void loadBanner (IronSourceBannerSize size, IronSourceBannerPosition position)
{
loadBanner(size, position, "");
}
public void loadBanner (IronSourceBannerSize size, IronSourceBannerPosition position, string placementName)
{
getBridge().Call("loadBanner", size.Description, (int)size.Width, (int)size.Height, (int)position, placementName, (bool)size.IsAdaptiveEnabled());
}
public void destroyBanner()
{
getBridge ().Call ("destroyBanner");
}
public void displayBanner()
{
getBridge ().Call ("displayBanner");
}
public void hideBanner()
{
getBridge ().Call ("hideBanner");
}
public bool isBannerPlacementCapped(string placementName)
{
return getBridge ().Call<bool> ("isBannerPlacementCapped", placementName);
}
public void setSegment(IronSourceSegment segment)
{
Dictionary <string,string> dict = segment.getSegmentAsDict ();
string json = IronSourceJSON.Json.Serialize (dict);
getBridge ().Call ("setSegment", json);
}
public void setConsent(bool consent)
{
getBridge().Call("setConsent",consent);
}
//******************* ConsentView API *******************//
public void loadConsentViewWithType(string consentViewType)
{
}
public void showConsentViewWithType(string consentViewType)
{
}
//******************* ILRD API *******************//
public void setAdRevenueData(string dataSource, Dictionary<string, string> impressionData)
{
string json = IronSourceJSON.Json.Serialize(impressionData);
getBridge().Call("setAdRevenueData", dataSource, json);
}
//******************* TestSuite API *******************//
public void launchTestSuite()
{
Debug.Log("AndroidAgent: launching TestSuite");
getBridge().Call("launchTestSuite");
}
#endregion
}
#endif

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: ffd532cc04826485496fa8f2f3297a29
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,17 +0,0 @@
using System;
public interface IUnityBanner
{
event Action OnBannerAdLoaded;
event Action OnBannerAdLeftApplication;
event Action OnBannerAdScreenDismissed;
event Action OnBannerAdScreenPresented;
event Action OnBannerAdClicked;
event Action<IronSourceError> OnBannerAdLoadFailed;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 6f665578d6e194d8ca540e4354f59aaf
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,7 +0,0 @@
using System;
public interface IUnityImpressionData
{
event Action<IronSourceImpressionData> OnImpressionDataReady;
event Action<IronSourceImpressionData> OnImpressionSuccess;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 637cb01eec78d4bbf9fc544b516e3c91
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,5 +0,0 @@
using System;
public interface IUnityInitialization
{
event Action OnSdkInitializationCompletedEvent;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: eac9abe7c14eb496da2bf267ae5298df
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,36 +0,0 @@
using System;
public interface IUnityInterstitial
{
//Mediation Interstitial callbacks
event Action<IronSourceError> OnInterstitialAdShowFailed;
event Action<IronSourceError> OnInterstitialAdLoadFailed;
event Action OnInterstitialAdReady;
event Action OnInterstitialAdOpened;
event Action OnInterstitialAdClosed;
event Action OnInterstitialAdShowSucceeded;
event Action OnInterstitialAdClicked;
//Rewarded Interstitial callback
event Action OnInterstitialAdRewarded;
//Demand Only Interstitial callbacks
event Action<String> OnInterstitialAdReadyDemandOnly;
event Action<String> OnInterstitialAdOpenedDemandOnly;
event Action<String> OnInterstitialAdClosedDemandOnly;
event Action<String, IronSourceError> OnInterstitialAdLoadFailedDemandOnly;
event Action<String> OnInterstitialAdClickedDemandOnly;
event Action<String, IronSourceError> OnInterstitialAdShowFailedDemandOnly;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 45bab60683d314f0fb0bc29687323406
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,15 +0,0 @@
using System;
public interface IUnityLevelPlayBanner
{
event Action<IronSourceAdInfo> OnAdLoaded;
event Action<IronSourceAdInfo> OnAdLeftApplication;
event Action<IronSourceAdInfo> OnAdScreenDismissed;
event Action<IronSourceAdInfo> OnAdScreenPresented;
event Action<IronSourceAdInfo> OnAdClicked;
event Action<IronSourceError> OnAdLoadFailed;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 5013c371a692d4a8f919e0fb65008557
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,18 +0,0 @@
using System;
public interface IUnityLevelPlayInterstitial
{
//Mediation Interstitial callbacks
event Action<IronSourceError, IronSourceAdInfo> OnAdShowFailed;
event Action<IronSourceError> OnAdLoadFailed;
event Action<IronSourceAdInfo> OnAdReady;
event Action<IronSourceAdInfo> OnAdOpened;
event Action<IronSourceAdInfo> OnAdClosed;
event Action<IronSourceAdInfo> OnAdShowSucceeded;
event Action<IronSourceAdInfo> OnAdClicked;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 9951bdafc5056462bbc136e9adc4f7f1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,17 +0,0 @@
using System;
public interface IUnityLevelPlayRewardedVideo
{
event Action<IronSourceError, IronSourceAdInfo> OnAdShowFailed;
event Action<IronSourceAdInfo> OnAdOpened;
event Action<IronSourceAdInfo> OnAdClosed;
event Action<IronSourcePlacement, IronSourceAdInfo> OnAdRewarded;
event Action<IronSourcePlacement, IronSourceAdInfo> OnAdClicked;
event Action<IronSourceAdInfo> OnAdAvailable;
event Action OnAdUnavailable;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 7ad572294dc0047d7b3c83416751b2cc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,7 +0,0 @@
using System;
public interface IUnityLevelPlayRewardedVideoManual
{
event Action<IronSourceAdInfo> OnAdReady;
event Action<IronSourceError> OnAdLoadFailed;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 388ad82402b634912bc5aac2a9a3bfb5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
public interface IUnityOfferwall
{
event Action<IronSourceError> OnOfferwallShowFailed;
event Action OnOfferwallOpened;
event Action OnOfferwallClosed;
event Action<IronSourceError> OnGetOfferwallCreditsFailed;
event Action<Dictionary<string, object>> OnOfferwallAdCredited;
event Action<bool> OnOfferwallAvailable;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b24d4066642d54d33a8100dd8c4860cb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,38 +0,0 @@
using System;
public interface IUnityRewardedVideo
{
//Rewarded Video mediation callbacks
event Action<IronSourceError> OnRewardedVideoAdShowFailed;
event Action OnRewardedVideoAdOpened;
event Action OnRewardedVideoAdClosed;
event Action OnRewardedVideoAdStarted;
event Action OnRewardedVideoAdEnded;
event Action<IronSourcePlacement> OnRewardedVideoAdRewarded;
event Action<IronSourcePlacement> OnRewardedVideoAdClicked;
event Action<bool> OnRewardedVideoAvailabilityChanged;
//Rewarded Video Demand Only callbacks
event Action<String> OnRewardedVideoAdOpenedDemandOnlyEvent;
event Action<String> OnRewardedVideoAdClosedDemandOnlyEvent;
event Action<String> OnRewardedVideoAdLoadedDemandOnlyEvent;
event Action<String> OnRewardedVideoAdRewardedDemandOnlyEvent;
event Action<String, IronSourceError> OnRewardedVideoAdShowFailedDemandOnlyEvent;
event Action<String> OnRewardedVideoAdClickedDemandOnlyEvent;
event Action<String, IronSourceError> OnRewardedVideoAdLoadFailedDemandOnlyEvent;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 3ac2f395682c74628a5045c3d0971680
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,9 +0,0 @@
using System;
public interface IUnityRewardedVideoManual
{
event Action OnRewardedVideoAdReady;
event Action<IronSourceError> OnRewardedVideoAdLoadFailed;
}

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 7e7eb3a115d054adfa30c15d19855c87
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,6 +0,0 @@
using System;
public interface IUnitySegment
{
event Action<String> OnSegmentRecieved;
}

@ -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…
Cancel
Save