Version: 2023.2
言語: 日本語
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.