playMaker

Author Topic: Take screenshot and save it onto texture variable  (Read 1592 times)

m3ndi3

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Take screenshot and save it onto texture variable
« 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!!

MS80

  • Junior Playmaker
  • **
  • Posts: 62
    • View Profile
Re: Take screenshot and save it onto texture variable
« Reply #1 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
« Last Edit: July 27, 2014, 02:28:42 PM by MS80 »

m3ndi3

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Take screenshot and save it onto texture variable
« Reply #2 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

CambriaWiz

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Take screenshot and save it onto texture variable
« Reply #3 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?

szomaza

  • Full Member
  • ***
  • Posts: 172
    • View Profile
Re: Take screenshot and save it onto texture variable
« Reply #4 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