playtest-unity/playtest/Library/PackageCache/com.unity.ide.rider@3.0.21/Rider/Editor/Util/RiderPathUtil.cs

14 lines
313 B
C#

using System.IO;
namespace Rider.Editor.Util
{
internal static class RiderPathUtil
{
public static bool IsRiderDevEditor(string editorPath)
{
if (editorPath == null)
return false;
return "rider-dev".Equals(Path.GetFileNameWithoutExtension(editorPath));
}
}
}