playMaker

Author Topic: action update: TakeCameraScreenshot?  (Read 1679 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
action update: TakeCameraScreenshot?
« on: August 31, 2016, 04:06:27 PM »
Someone made me this script, I think. Worked fine. Now I updated to Unity 5.3.5p6, and I get this error: Assets/PlayMaker Custom Actions/Files/TakeCameraScreenshot.cs(158,40): error CS0117: `System.IO.File' does not contain a definition for `WriteAllBytes'

Can someone please fix this error? I have attached the script.

[EDIT] Action is now available on the Ecosystem
« Last Edit: December 06, 2017, 02:27:19 AM by jeanfabre »

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: action update: TakeCameraScreenshot?
« Reply #1 on: September 07, 2016, 01:36:00 PM »
I wrote it. It's weird cause I was looking at it the other day in unity and I had no errors. When did you get the error? On build? Have you tried it in Unity 5.4.x?