Version: 2021.2
언어: 한국어

CodeEditor.GetCodeEditorForPath

매뉴얼로 전환
public Unity.CodeEditor.IExternalCodeEditor GetCodeEditorForPath (string editorPath);

파라미터

editorPath The absolute path to an executable.

반환

IExternalCodeEditor Returns an IExternalCodeEditor representing the package responsible for the editor path.

설명

Each registered code editor package has an instance of IExternalCodeEditor. This method invokes IExternalCodeEditor.TryGetInstallationForPath on that instance. It returns the first instance that returns a valid installation.