Skip to content

DrMoriarty/godot-ogury

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ogury Choice Manager plugin for Godot engine.

Use NativeLib Addon or NativeLib-CLI for installation.

Usage

To let user make his choise you only need this:

func _ready():
    ogury.connect('gdpr_answer', self, '_on_gdpr_answer')

func _on_gdpr_answer(applies: bool, approval: bool, consent: String):
   # initialize ad network or put this data to it if network already initialized

Some of networks can use consent automatically, so their api don't have methods for putting this values.