移除不用的脚本
This commit is contained in:
@@ -4,22 +4,17 @@ namespace SRDebugger.Services
|
||||
using System;
|
||||
using Profiler;
|
||||
using SRF.Service;
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Experimental.Rendering;
|
||||
#endif
|
||||
|
||||
public static class ProfilerServiceSelector
|
||||
{
|
||||
[ServiceSelector(typeof(IProfilerService))]
|
||||
public static Type GetProfilerServiceType()
|
||||
{
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
if(GraphicsSettings.defaultRenderPipeline != null)
|
||||
{
|
||||
return typeof(SRPProfilerService);
|
||||
}
|
||||
#endif
|
||||
|
||||
return typeof(ProfilerServiceImpl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user