12 lines
362 B
C#
12 lines
362 B
C#
namespace UnityEditor.TestTools.TestRunner.GUI
|
|
{
|
|
internal class AssetsDatabaseHelper : IAssetsDatabaseHelper
|
|
{
|
|
public void OpenAssetInItsDefaultExternalEditor(string assetPath, int line)
|
|
{
|
|
var asset = AssetDatabase.LoadMainAssetAtPath(assetPath);
|
|
AssetDatabase.OpenAsset(asset, line);
|
|
}
|
|
}
|
|
}
|