|
2D Shooter Bullet and Weapon System for Unity 3.0.0
|
Runs a timed benchmark, records FPS, and writes results to a file. More...
Public Attributes | |
| float | defaultDurationSeconds = 15f |
| int | frameSampleInterval = 1 |
Runs a timed benchmark, records FPS, and writes results to a file.
Average FPS uses total frames / total time (correct); arithmetic mean of per-frame FPS would skew high. Activate via command line: -benchmark -useDots (1|0) [-duration seconds] Example: MyGame.exe -benchmark -useDots 1 -duration 15 Output: Application.persistentDataPath/benchmark_YYYYMMDD_HHmmss_DOTS_on.txt
| float BenchmarkRunner.defaultDurationSeconds = 15f |
| int BenchmarkRunner.frameSampleInterval = 1 |