Example #1
0
	void Awake()
	{
#if UNITY_ANDROID && ENABLE_PLUGIN
		android = new AndroidJavaObject(ObjectClassPath);
		android.Call("init", gameObject.name, "AdmobAgentReceiveAgentEvent");
#endif
		_instance = this;
		handles = new Dictionary<int, HandleAdmobEvent>();
		banners = new Dictionary<int, AdmobBanner>();
	}
Example #2
0
    void Awake()
    {
#if UNITY_ANDROID && ENABLE_PLUGIN
        android = new AndroidJavaObject(ObjectClassPath);
        android.Call("init", gameObject.name, "AdmobAgentReceiveAgentEvent");
#endif
        _instance = this;
        handles   = new Dictionary <int, HandleAdmobEvent>();
        banners   = new Dictionary <int, AdmobBanner>();
    }