Initialize the SDK
After you add the AwesomeAds SDK to your project, you need to initialize it.
After adding the SDK to your project add a C# script and attach it to a GameObject
to ensure it runs.
using tv.superawesome.sdk.publisher;
public class MainScript : MonoBehaviour {
// initialization
void Start() {
AwesomeAds.init(true);
}
}
The init
method takes a Boolean parameter indicating whether logging is enabled or not. For production environments, logging should be disabled (false).