Application.CaptureScreenshot

The documentation says Application.CaptureScreenshot does nothing if used from inside the web player. But does that include a standalone player? If not, how do I get it to work? Here is what I have that works when I run it from inside the editor.

Application.CaptureScreenshot(@"C:\Windows\ScreenShot.png")

Thanks.

It appears to only be able to save to the drive it’s on. I was testing it on my F:\ drive. It writes fine to there.

The standalone and web player are two different platforms, so no.

Use Application.dataPath instead of hard-coding the path.

–Eric