- Home /
This question was
closed Aug 21, 2014 at 10:55 AM by
Josh Naylor for the following reason:
Duplicate Question
Question by
lazuardi100 · Aug 21, 2014 at 10:54 AM ·
Overload Method problem
Anyone know this problem? Because in tutorial no problem founded
using UnityEngine;
using System.Collections;
public class ads : MonoBehaviour {
private const string AD_UNIT_ID="xxxxxxxxx";
private AdMobPlugin admob;
public bool hidden = true;
// Use this for initialization
void Awake () {
}
// Update is called once per frame
void Start () {
admob = GetComponent<AdMobPlugin>();
admob.CreateBanner(AD_UNIT_ID, AdMobPlugin.AdSize.SMART_BANNER, true); // error message No overload method, takes 3 arguments
admob.RequestAd();
admob.ShowBanner();
}
}
Can anyone help me? thanks ;)
Comment
are you getting any errors in the console? what are they?
Follow this Question
Related Questions
expected. Insert a semicolon at the end 1 Answer
Edit script but changes not made! 1 Answer
How do we make fog of war? 1 Answer
Null reference error after detecting collision 0 Answers
i get errors but i have no idea why 0 Answers