PlayMaker Updates & Downloads > Share New Actions

take camera screenshot[SOLVED]

(1/4) > >>

dudebxl:
[EDIT] "Take camera screenshot" action is now available on the Ecosystem.

2 actions:


* Take camera screenshot - (incl high resolution screenshot) from any camera and save as Png/Jpg
* Take camera screenshot Texture - (incl high resolution screenshot) from any camera and save as Fsm texture only
on ecosystem or https://snipt.net/dudebxl/takecamerascreenshot/

Req: Unity 5 (or Unity 4 pro)
Note: Will not capture the uGUI in screenshot. A bug within Unity itself preventing non-world-space UI items from being captured

any problems post here. thx

richardh:
Downloaded this from the ecosystem tonight (Dec 2015) but get the following error:


--- Quote ---Assets/PlayMaker Custom Actions/Application/TakeCameraScreenshot.cs(157,40): error CS0117: `System.IO.File' does not contain a definition for `WriteAllBytes'
--- End quote ---

I'm using unity 5.1.2

dudebxl:
Which build are you in? Try pc or mobile build and see if it works.. I dont think action works in webplayer mode due to security reasons. Let me know...

richardh:
Yes, I'm using it for a Webplayer (PC) build.

dudebxl:
*** update - Default folder bug corrected (on both actions).

Navigation

[0] Message Index

[#] Next page

Go to full version