OpenProject(string, int, int)
The external code editor needs to handle the request to open a file.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.CodeEditor
- Assembly: UnityEditor.CoreModule
bool OpenProject(string filePath = "", int line = -1, int column = -1)
Parameters
Returns
Type | Description |
|---|---|
| bool | Whether the request went successfully. |
Remarks
The interface defines a default argument for this method, filePath empty string, line -1, column -1. This requests is a special case where the IDE is requested to open the project, but no specific file, and can be handled differently across integrations.