際際滷

際際滷Share a Scribd company logo
HOW	
 TO	
 INTEGRATE	
 UNITYADS	
 WITH	
 
ANDROID	
 STUDIO	
 
伎襴 螻殊
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  2	
 
螻 朱 	
 
螳語
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  3
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  4
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  5
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  6
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  7	
 
 螳覦譴 煙 蟆曙
蠍 企Ν
企 豢 煙企 企
煙 企 轟
playstore url 
 谿場殊語
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  8
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  9
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  10	
 
	
  game	
 id 豢
init .
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  11
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  12	
 
UnityAds	
 Library	
 襦 企ゼ
integraEon .
NaEve	
 source	
 code
襦 谿瑚伎殊語.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  13
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  14	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
襦  襦 	
 
 .
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  15
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  16
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  17
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  18	
 
襦瑚 焔
   給.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  19	
 
	
 
	
 
	
 
	
 
UnityAdsLibrary襯	
 import
蠍  File>Import	
 
Module .
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  20
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  21	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
 れ企 覦
UnityAdsPackage
android	
 启襯
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  22
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  23	
 
	
 
	
 
	
 
	
 
Example 启 Source 
螳 import 給.	
 
Example	
 UnityAds	
  
襦 谿瑚覃企螻,	
 Source襯
 蟆.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  24	
 
	
 
	
 
	
 
	
 
 襦語 app  るジ
讓 襷一 覯殊 企Ν螻 open	
 
module	
 seRngs 襯 .
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  25	
 
	
 
	
 
	
 
	
 
Dependencies 企Ν
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  26	
 
	
 
	
 
	
 
	
 
+ 覯 企Ν
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  27
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  28
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  29	
 
	
 
	
 
OK覯殊 襯企 伎
UnityAds	
 Library襯 
襦語  
給.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  30	
 
	
 
	
 
	
 
	
  襦語
AndroidManifest.xml 
殊 暑.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  31	
 
	
 
	
 
	
 
	
 
Permission .
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  32	
 
UNITYADS	
 LIBRARY襯  蠍磯蓋  覈 給. 伎 襦
伎,	
 UNITYADS襯  蟯螻襯 覲伎譯朱 .	
 
	
 
れ 殊企 覿,	
 UNITYADS襯 企至 覃 讌,	
 UNITYADS	
 LIBRARY襯
IMPORT覃 螳 IMPORT EXAMPLE 貊襯 牛 る 襴蟆給.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  33	
 
	
 
	
 
	
 
	
 
Debug	
 mode襯  襦蠏碁ゼ 覲殊 給.	
 
Test	
 mode襯 覃 螻 ろ語 蟯螻襯 覲
 給.	
 	
 
*譯殊 : 豕譬朱 襷貅 襴蠍一
debugmode testmode襯 false襦 伎殊語
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  34	
 
	
 
	
 
	
 
	
 
UnityAds.init((AcEvity)this,	
 Your	
 Game	
 ID",	
 
(UnityAdsListener)this);	
 
IniEalize 螳覦 game	
 id(殊企 10谿瑚)
襯 ロ伎殊語
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  35	
 
	
 
	
 
	
 
	
 
UnityAds	
 SDK acEvity	
 life	
 cycle 磯 覲
襯  覦狩. 企 onResume
changeAciEvity襯 覿 所 谿襴伎 
給.
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  36	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
OpEonal	
 parameter襯 蠍  給.	
 
螳 蟯螻襯 覲企 蟆 襷豺覃 企 
螳 語 . 螳螳 蟯螻襯 ろ牛讌 
讌 讌 蠍一  給.(讀 
蟆 覲伎伎 讌 讌)
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  37	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
	
 
 伎 UnityAds螳 close
蟆 覃 語 	
 
蟆 蟯螻襯 覲伎 譴 語 .	
 
螳 蟯螻襯 覲企 蟆 襷豺覃 企
螳 語 . 螳螳 蟯螻襯 ろ
讌 讌 讌 蠍一  給
.(讀 蟆 覲伎伎 讌 讌)	
 
UnityAds襯 iniEalze覃 朱 inventory(蟯螻 覈襦)襯 
 . 覲伎 譴  蟯螻螳  蟆曙
onFetchCompleted襯 語 螻, 覲伎 譴  蟯螻 螳 
蟆曙 onFetchFailed襯 語
Copyright	
 息	
 2014	
 Unity	
 Technologies	
  38	
 
www.unityads.co.kr	
 
蠍一 讌 :	
 aylin@unity3d.com	
 
朱  讌覓 :	
 younghoh@unity3d.com

More Related Content

Unityads integration for_android_studio_version1