Search Unity

random picture in the player's local documents

Discussion in 'Scripting' started by ldono, Jan 7, 2014.

  1. ldono

    ldono

    Joined:
    Jan 6, 2014
    Posts:
    2
    Hi,

    I would like to texture an object with a picture that the script finds randomly in the personal files of the player (standalone). Finding, for example, one file with extension .jpg in all player's documents.

    So, do you know if it's possible to write a script that can explore the player's documents to find a random picture ?