OpenProject(string, int, int)
The external code editor needs to handle the request to open a file.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.CodeEditor
- Assembly: UnityEditor
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.