Playmaker Forum

Playmaker Feedback => Action Requests => Topic started by: m3ndi3 on July 25, 2014, 03:07:38 PM

Title: Take screenshot and save it onto texture variable
Post by: m3ndi3 on July 25, 2014, 03:07:38 PM
Hello, if anyone can help me make this custom action, I will be eternally grateful! Basically I want to call a screenshot action that will take a screenshot, then save it to a texture variable I set. I would like to use this to display my screenshot at the end of level screen (use it with Set GUI Texture). Thanks!!
Title: Re: Take screenshot and save it onto texture variable
Post by: MS80 on July 27, 2014, 02:19:12 PM
There already exists an action called "Take Screenshot"

If this it not enough, have a look at this post:

http://hutonggames.com/playmakerforum/index.php?topic=1930.msg8492#msg8492
Title: Re: Take screenshot and save it onto texture variable
Post by: m3ndi3 on July 28, 2014, 12:14:48 PM
Sorry but the Take Screenshot action saves the screenshot to the users folder, not a playmaker variable to use in other actions
Title: Re: Take screenshot and save it onto texture variable
Post by: CambriaWiz on October 02, 2014, 02:10:18 PM
I'm also interested in dynamically changing textures and haven't figured out how to do it.  Did you ever solve the second part of your problem here?
Title: Re: Take screenshot and save it onto texture variable
Post by: szomaza on March 21, 2015, 06:00:42 AM
"Facebook SDK Action+ for PlayMaker"
https://www.assetstore.unity3d.com/en/#!/content/20048
can do this.

It saves a screenshot to a texture you can do whatever you want with it after.
(It also posts it to Facebook, but I am sure somebody who knows what he is doing can "fix" that.)

Please share if you get something similar working, without the FB part.

br,
szomaza