Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Created December 12, 2018 20:33
Show Gist options
  • Select an option

  • Save flurrydev/c9e3743532992ebfeed20a44403f1b7f to your computer and use it in GitHub Desktop.

Select an option

Save flurrydev/c9e3743532992ebfeed20a44403f1b7f to your computer and use it in GitHub Desktop.
Unity: Methods to set users preferences
void SetAge(int age);
void SetGender(Flurry.Gender gender);
void SetReportLocation(bool reportLocation);
void SetSessionOrigin(string originName, string deepLink);
void SetUserId(string userId);
//The SetVersionName method is called before the session is initialized. See the FlurryStart.cs example script for usage.
void SetVersionName(string versionName);
void AddOrigin(string originName, string originVersion);
void AddOrigin(string originName, string originVersion, Dictionary<string, string> originParameters);
void AddSessionProperty(string name, string value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment