Welcome to AdInMo’s SDK docume...
...
SDK Integration
Additional Information

Unity Advanced Functions

9min
from here you can add more functionality to the adinmo sdk within your game this section contains a range of functions that you can add and will require editing c# scripts set application version with this string the sdk will be able to determine the current version of your app this will improve the response from our ad exchange partners callback function for added control, there is a callback function you can register this is useful for hiding an object until the replacement textures have been downloaded and applied, thus avoiding a visual pop adinmomanager setonreadycallback() your delegate function must be of the form void mydelegate( string message ); background colour if the placement doesn’t fill the object its applied to, you may need to alter the background colour we provide a call to get the background colour set by the advertisement so you can update the object as required color adinmotexture getbordercolor() rotate textures to manually control when textures are cycled, call adinmomanager setautocycletextures(bool benabled) you can rotate which textures are displayed on which placements by calling the following function, e g between levels void adinmomanager cycletextures() temporarily disable adinmo processes/traffic if you want to temporarily disable all adinmo processing and network traffic, you can call adinmomanager pause() to resume normal operations, call adinmomanager resume() to check if adinmo is currently running call adinmomanager ispaused() to check if plugin’s initial setup has run, call adinmomanager isready() to check if the plugin was successfully able to connect to adinmo’s server during initial setup (otherwise a cached setup will be loaded) adinmomanager issuccess()