- Home /
Unity Extending. Link to Script editor
Hi to all! I'm writing my own Console for Unity editor. I want when I do a double click by some link (in my Console window) my script editor is activated and control is transmited to it in the necessary file to the necessary line. How can I do it? Thanks.
Unity/$$anonymous$$onoDevelop already does for logs, warnings, and errors i.e. you double click on a log message in the regular unity console and $$anonymous$$onoDevelop goes to the line that created that message.
Answer by programm_err · Mar 26, 2012 at 03:04 PM
Oh. I found it myself :)
UnityEditorInternal.InternalEditorUtility.OpenFileAtLineExternal(string filename, int line);
Your answer
Follow this Question
Related Questions
{Editor Window} drop down menu for object List 0 Answers
Script Giving Null Reference Exception??? 0 Answers
Asset Server Administration Error 0 Answers
Instantiating Mesh in edit mode? C# 1 Answer
Unity Editor 4.2 crashes silently on play or start 2 Answers