Files
AR-Menu-Legacy/Library/PackageCache/com.needle.engine-exporter@8c046140a1d9/Common/Editor/Utils/RenderingUtils.cs
2025-11-30 08:35:03 +02:00

14 lines
295 B
C#

using UnityEngine.Rendering;
namespace Needle.Engine.Utils
{
public static class RenderingUtils
{
public static bool IsUsingURP()
{
var asset = GraphicsSettings.currentRenderPipeline;
if (asset && asset.GetType().Name.Contains("Universal")) return true;
return false;
}
}
}