Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

A way of obtaining amount of downloads?

Discussion in 'Scripting' started by DutchGuerrilla, Feb 6, 2016.

  1. DutchGuerrilla

    DutchGuerrilla

    Joined:
    Feb 17, 2015
    Posts:
    13
    Hi there,

    Do you know a way of obtaining a value that says how much the game is downloaded? I think this value is somewhere stored in the different stores, but maybe there is a other way to obtain this value like from a unity license database? I need this value in my game.

    Thanks,
    Maarten
     
  2. larku

    larku

    Joined:
    Mar 14, 2013
    Posts:
    1,422
    You want to show the value in the game?

    Unity does not have any built in mechanism to do this.

    To do this you'll need to do something like setup your own web service or similar and track installs yourself and fetch your count from there too. Or find a service+plugin/web interface that does this (don't know of any myself).
     
  3. passerbycmc

    passerbycmc

    Joined:
    Feb 12, 2015
    Posts:
    1,741
    you can get the data from google play or the apple appstore, but aside from that the only way would to be use unity analytics which takes a good bit of set up or to have a webserver and have your game call home on first run.
     
  4. DutchGuerrilla

    DutchGuerrilla

    Joined:
    Feb 17, 2015
    Posts:
    13
    Ok guys. Thanks for the replies. I think I will write code to save it in a central database and query it from there when I need it. Thanks ;)