Unity Community |

@Dream, the setPopoverPoint method should be just what you are looking for.
Thanks Prime. That's exactly what I was looking for. I guess I should've read the iOS Human Interface Guidelines. >_<
Hi Prime31,
I can't find Native Toolkit anymore on your site. Is it discontinued for some reason?
@Lisan, NativeToolkit is discontinued for the time being. It may be brought back in the future.
@Lisan, supporting it required too much time as it is a very free form plugin.
@Prime31, the queryLibrary( string songTitle, string artist, string album ) function in the latest MediaPlayer is great, but would it be possible to have another play that takes an assetUrl, similar to playPlaylist( string playlistId )?
@kevork, for now we are going to leave it with the two different interfaces. One for simple integration and one for advanced. You can actually make a custom player with the current advanced API without much trouble.
@prime31 - In the iAd plugin, how do I display the ad on the top of the screen instead of the bottom?
@Atomic, the createBanner method lets you specify the exact point where the banner should be. Just pass in 0,0 to get it on the top.
@Prime31. In the Mobclix plugin, is it possible to tell when an ad has been clicked on? And in the Game Center Multiplayer plugin, is a player automatically kicked out the game if they leave the app due to multitasking?
I have not used the Multiplayer plugin yet, but I am looking at doing an ad-supported multiplayer game. I hope to be able to see if a player is leaving the game due to an ad-click, and give them the opportunity to return if they have. I do not want to punish a player for earning me money!
@MoonJump, the multiplayer API will fire an event when a player leaves a match but there isn't a way to send back an ad click when a user leaves the app as the Unity VM is immediately paused.
Thank you Prime31. Looks like I may be better going for an interstitial ad before each match, rather than banner ads during a match.
I'm not sure about how the interstitials work. I see the calls you have in your documentation, but I don't see Interstitials as a size option on the Mobclix website. What do I need to set-up to get them working? Do I need to set up a banner before requesting a full screen ad?
@Moonjump, the demo scene will show you how to load and display interstitials. I don't believe you have to sign up for anything special on the Mobclix portal but you may want to double check their docs just to be certain.
Okay, it worked with the following
Code:
{ // start up iAd and destroy ourself AdBinding.createAdBanner( bannerOnBottom ); AdBinding.rotateToOrientation( DeviceOrientation.LandscapeLeft ); //Screen.orientation = ( ScreenOrientation )Input.deviceOrientation; }
Thanks a lot.
Hi prime,
Is there already a forum specifically for the GameCenter Multiplayer plugin? If not could you begin one...? This thread is so big now trying to find particular information is too time consuming... ( unless I'm missing something in the forum search tools )
Thanks.
Games Published: Tomb Raider I, Tomb Raider II, Mr Onions, Outbrake, Project Eden, Machine Head, Curse of Enchantia, Universe... and others.
@stuatk, the forum search tools aren't the greatest. I personally use a Google custom to search the forums like this: http://www.google.com/cse/m?cx=00595...eme=MINIMALIST
Hi prime31...i am using your admob plugin, its very good. now i want to combine it with banners i made myself for our different product. so i would like to display it over admob banner, how can i pause the display of admob banner and later (based on timer) to display it again?
thanks!
here is the code i am using right now for testing, not yet implemented this what i want just a timer
Code:
using UnityEngine; using System.Collections; { #if UNITY_ANDROID public string adMobPubliserId; public string[] testDevices; float startTime; float elapsedTime; float rotateTime; bool showCustomBanner; startTime=Time.time; rotateTime=10.0f; } elapsedTime=Time.time-startTime; if(elapsedTime>rotateTime) { elapsedTime=0.0f; startTime=startTime+rotateTime; showCustomBanner=!showCustomBanner; } } { AdMobAndroid.init(adMobPubliserId); //PUT HERE TEST DEVICES AdMobAndroid.setTestDevices(testDevices); //Debug.Log(density.ToString()); // center the banner. this is a basic setup with centered banners if(isTablet()){ //Debug.Log("create banner for tablet"); }else{ //placed at the bottom right corner //Debug.Log("create banner for for phone"); } } bool isTablet() { // check for tablet sized screens return true; }else{ return false; } } #endif }
@pretender, you can toggle the visibility of the banner by just calling hideBanner( true/false ). You can then show your ads while it's hidden.
Hi Prime31... I am using the MoPub plugin for both IOS and Android to draw banner ads. My client is requesting that I load an ad off-screen and then have it scroll onto the screen. I did not see a way to do this with the current plugin. Is there a way I can set the x and y of a banner after it has loaded? If not is there plans to add this feature in the future? (Note: Current banner just blinks in final position once it is loaded, so everything is working). Thanks.