跳转代码
string hrefContent = "<a href=\"{0}\" line=\"{1}\">{0}:{1}</a>";
Debug.LogFormat(hrefContent, "Assets/Script/TestScript.cs", 7);
跳转UnityEngine.Object
string hrefContent = "<a href=\"{0}\">{0}</a>";
string objectAssetPath = "Assets/Test.prefab";
Debug.Log(string.Format(hrefContent, objectAssetPath), AssetDatabase.LoadAssetAtPath<UnityEngine.Object>(objectAssetPath));