Unity tutorial: take a screenshot in your game and render to a texture or png file

Published: 18 February 2021
on channel: Red Hen dev
1,299
20

A simple script to take a screenshot during your game or simulation, and then render that screenshot to the 2D Texture of an object in your scene.

Additionally, I show you how to write the screenshot to a file and save this to your desktop as a PNG file.

Link to code:

Thanks for watching, and special thanks to James!

:)


Watch video Unity tutorial: take a screenshot in your game and render to a texture or png file online without registration, duration hours minute second in high quality. This video was added by user Red Hen dev 18 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,299 once and liked it 20 people.