메소드 | 설명 | |
---|---|---|
CaptureScreenshot ( string path, int superSize = 1, bool transparentClearColor = false, Camera camera = null ) : bool |
Captures a screenshot with the current main camera's clear color.
|
|
GetScreenshotDirectory ( ) : string |
Gets a directory which is safe for saving screenshots.
|
|
GetScreenshotPath ( ) : string |
Gets a unique screenshot path with a file name based on date and time.
|
메소드 | 설명 | |
---|---|---|
CaptureScreenshot1x ( ) : void | ||
CaptureScreenshot1xAlphaComposite ( ) : void | ||
CaptureScreenshot2x ( ) : void | ||
CaptureScreenshot2xAlphaComposite ( ) : void | ||
CaptureScreenshot4x ( ) : void | ||
CaptureScreenshot4xAlphaComposite ( ) : void |
public static CaptureScreenshot ( string path, int superSize = 1, bool transparentClearColor = false, Camera camera = null ) : bool | ||
path | string | The path to save the screenshot to. |
superSize | int | The multiplication factor to apply to the native resolution. |
transparentClearColor | bool | True if the captured screenshot should have a transparent clear color. Which can be used for screenshot overlays. |
camera | Camera | The optional camera to take the screenshot from. |
리턴 | bool |