Add option to build editor without profiler
This commit is contained in:
@@ -63,7 +63,11 @@ namespace FlaxEditor.Windows.Profiler
|
||||
/// Initializes a new instance of the <see cref="SingleChart"/> class.
|
||||
/// </summary>
|
||||
/// <param name="maxSamples">The maximum samples to collect.</param>
|
||||
#if USE_PROFILER
|
||||
public SingleChart(int maxSamples = ProfilerMode.MaxSamples)
|
||||
#else
|
||||
public SingleChart(int maxSamples = 600)
|
||||
#endif
|
||||
: base(0, 0, 100, DefaultHeight)
|
||||
{
|
||||
_samples = new SamplesBuffer<float>(maxSamples);
|
||||
|
||||
Reference in New Issue
Block a user