Print and/or export screen?

Hello, I am working on developing a game where players can earn points to use at a real life location (to buy small toys or an ice cream cone). What I am trying to do is give the players a certificate that they can print out and bring with them.

I've searched around, but haven't been able to find a print screen function. I found the page for Application.CaptureScreenshot, but we are planning on the game being released for the web.

Is there a way to get a screenshot? Or perhaps export an image to an external file that opens in another browser window that they can print?

Thanks,

Z

sorry, didn't see page 2...new here...you are right, your script looks good, we don't need "this" keyword as I wrote...thanx

1 Answer

1

You could take a look at the example of the reference for Texture2D.EncodeToPNG.

Glad you found it useful!