Skip to content

TapResearch/unity-integration-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TapResearch Unity Integration demo app

This simple app demonstrates how to integrate the TapResearch Unity SDK in your app.

  • Clone the repo
$ git clone git@github.com:TapResearch/unity-integration-demo.git
  • Start unity and open the folder

  • If you want to see things in action make sure you add your Unity api token and a user identifier in TestButtonClick.cs

  @Override
  void Start ()
  {
   surveyButton.gameObject.SetActive (false);
   TapResearch.Configure ("<api_token>");
   TapResearch.OnSurveyAvailable = this.OnSurveyAvailable;
   TapResearch.SetUniqueUserIdentifier ("<user_identifier>");
   TapResearch.OnDidReceiveReward = this.OnDidReceiveReward;
   TapResearch.OnSurveyModalOpened = this.OnSurveyModalOpened;
   TapResearch.OnSurveyModalDismissed = this.OnSurveyModalDismissed;
 }
  • Please note that the SDK only works for iOS or Android and not for the default player

About

TapResearch unity integration demo

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages