Restore profiler for Web for engine stats in non-Release builds
This commit is contained in:
@@ -15,8 +15,6 @@ public class Profiler : EngineModule
|
||||
/// <returns>True if use profiler, otherwise false.</returns>
|
||||
public static bool Use(BuildOptions options)
|
||||
{
|
||||
if (options.Platform.Target == TargetPlatform.Web)
|
||||
return false;
|
||||
return options.Configuration != TargetConfiguration.Release || options.Target.IsEditor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user