Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

bool OpenProject(string filePath = "", int line = -1, int column = -1)

Parameters

filePath


line

Line number to open the file on.

column

Column to move cursor to on the specific line.

Returns

Type

Description

boolWhether 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.