|
|
|
|
|
|
{ |
|
|
|
public class TakeScreenshotAction : ActionBase |
|
|
|
{ |
|
|
|
[Tooltip("Super Sampling multiplier")] |
|
|
|
[Tooltip("Base Filename (will be numbered) ")] |
|
|
|
[Tooltip("How many digits in the sequence numbers.")] |
|
|
|
ScreenCapture.CaptureScreenshot(name + screenshotNumber.ToString().PadLeft(figureCount, '0') + ".png", supersampleRate); |
|
|
|
ScreenCapture.CaptureScreenshot(fileName + screenshotNumber.ToString().PadLeft(figureCount, '0') + ".png", supersampleRate); |
|
|
|
screenshotNumber += 1; |
|
|
|
} |
|
|
|
} |