浏览代码

Fixed Take Screenshot Action : bad filename + tooltips

/main
Thomas ICHÉ 4 年前
当前提交
66dce9c8
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 2
      CHANGELOG.md
  2. 5
      Runtime/LevelScripting/Actions/TakeScreenshotAction.cs

2
CHANGELOG.md


#### Fixed
* Fixed Take Screenshot Action : bad filename + tooltips
## 2019.3.6
#### Added

5
Runtime/LevelScripting/Actions/TakeScreenshotAction.cs


{
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;
}
}
正在加载...
取消
保存