Created
June 25, 2015 06:23
-
-
Save fuqunaga/696fab29860e4158a437 to your computer and use it in GitHub Desktop.
Screenshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( Input.GetKeyUp(KeyCode.S)) | |
{ | |
var filePath = Application.dataPath + "/screenshot/" + System.DateTime.Now.ToFileTime() + ".png"; | |
Application.CaptureScreenshot(filePath, screenShotScale); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment