mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
12 lines
351 B
C#
12 lines
351 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);
|
||
|
}
|
||
|
}
|
||
|
}
|