The plugin integration is a little different like with the other ad networks, so my question regarding the documentation is:
when using this line in main.lua:
local plugin = require( "plugin.kidoz" )
does this automatically mean I have access to (for example) the following in ALL THE CODE and all scenes…?
kidoz.init()
Or do I have to use a global in main.lua, like this?
plugin = require( "plugin.kidoz" )
And what about the “kidoz”?.. Is this working automatically or shouldn’t it be this in main.lua instead the “plugin”?..
kidoz = require( "plugin.kidoz" )
Thx for your help!
Daniela
PS: One more thing: How can I use kidoz together with other ad networks? Is it possible to switch between them like for example between “vungle” and “admob”?