- Home /
How do you use an imported package in a script?
I'm trying to add in-app advertisements to my game, so I imported this unitypackage to my project. I have never imported anything into my game other than sprites, so I have no idea what I'm doing.
How do I use any of the addons that this plugin uses inside my scripts (I use C#). The scripts installed under /Assets/Scripts.
I'm sorry if I missed something really simple.
EDIT: I tried adding com.microeyes.admob;
buy now I'm getting the error "The type or namespace name 'com' could not be found (are you missing a using directive or an assembly reference?)".
shame that the page you linked doesn't have any implementation info.
search that page for "Integration Steps:"...it's all there.
namespace usually means adding
using "nameofclasshere"
at the top of the file
Answer by Meltdown · Dec 11, 2014 at 03:44 AM
Surely the plugin has documentation on how to use it? Did you read this?
Your answer
![](https://koobas.hobune.stream/wayback/20220613173744im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
admobdemo.cs is giving me an error 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Admob Rewarded Video are not showing 0 Answers