Search Unity

CaptureScreen with TimeStamp?

Discussion in 'Scripting' started by Adrian_pro, May 22, 2015.

  1. Adrian_pro

    Adrian_pro

    Joined:
    May 23, 2013
    Posts:
    26
    Hello,

    I want to write a script that can take a photo! I manage to do that and even get numbers to the photos!
    But they get overwrite every time I open the app

    NOW, I want to have photo names with a time stamp how can I do that in a script!?
    Some sample please!
     
  2. MutantGopher

    MutantGopher

    Joined:
    May 22, 2015
    Posts:
    48
  3. Adrian_pro

    Adrian_pro

    Joined:
    May 23, 2013
    Posts:
    26
    Hi, the ideea is like this when the output should be : photo+time.png .
    Yes i think this should do!

    Can I use this also to get the date? If so, can I use it to make a trial version of my app based on time?