Determinates whenever performance profiling tools should be enabled for a given build. The options. True if use profiler, otherwise false.
(BuildOptions options)
| 14 | /// <param name="options">The options.</param> |
| 15 | /// <returns>True if use profiler, otherwise false.</returns> |
| 16 | public static bool Use(BuildOptions options) |
| 17 | { |
| 18 | return options.Configuration != TargetConfiguration.Release || options.Target.IsEditor; |
| 19 | } |
| 20 | |
| 21 | /// <inheritdoc /> |
| 22 | public override void Setup(BuildOptions options) |