hai im new in coding, and i want to able read the demo admob code. can you guys tell me if im right or wrong ?
so the variable is named init and have a return value to bool, if engine has single admob then get the singleton admob. the ads will be real, get our id, and so until maxadcontent. the return true mean make it all work. the return false mean just do it once. im right guys ?
func init() -> bool:
if(Engine.hassingleton("AdMob")):
_admobsingleton = Engine.getsingleton("AdMob")
_admobsingleton.initWithContentRating(
isreal,
getinstanceid(),
childdirected,
ispersonalized,
maxadcontentrate
)
return true
return false