Search Unity

Script to add thumbnail as a texture

Discussion in 'Unity Everyplay' started by Nadan, Sep 30, 2014.

  1. Nadan

    Nadan

    Joined:
    Jan 20, 2013
    Posts:
    341
    Hi!

    How can I add thumbnail to my gameobject's texture? Is there a script that I could attach to my plane/quad and it would show the random thumbnail that has been taken during gameplay after the StopRecording() has taken place? If possible in Javascript?

    The documents say: "To load a video thumbnail, you need to use the Everyplay.LoadThumbnailFromFilePath(string path, ThumbnailLoadReadyDelegate, ThumbnailLoadFailedDelegate) method.f"

    But I don't quite understand what this means. Everyplay stores the thumbnail to some path, but I don't know where etc. :)
     
  2. trinta

    trinta

    Unity Technologies

    Joined:
    Jun 5, 2013
    Posts:
    24