public static void PlayMoreApps() { AdOverlay = (GameObject)Instantiate(AssetDatabase.LoadAssetAtPath <GameObject>("Assets/Spilgames/Editor/Prefabs/AdOverlay.prefab")); AdOverlay.SetActive(true); provider = "Spil"; adType = "moreApps"; adInfoText = provider + " " + adType + " is playing!"; SpilUnityImplementationBase.fireAdStartedEvent(); }
/// <summary> /// This method is called by the native Spil SDK, it should not be used by developers. /// Developers can subscribe to the Spil.Instance.AdStarted event. /// </summary> public void AdStart() { SpilUnityImplementationBase.fireAdStartedEvent(); }