Version: 2019.1
public static bool OpenAsset (int instanceID, int lineNumber= -1);
public static bool OpenAsset (Object target, int lineNumber= -1);

Description

Открывает ассет с соответствующим приложением.

Opens asset in an external editor, texture application or modelling tool depending on what type of asset it is. If it is a text file, lineNumber instructs the text editor to go to that line. Returns true if asset opened successfully.


public static bool OpenAsset (Object[] objects);

Description

Открывает ассет(ы) с соответствующим приложением(ми).

Opens asset in an external editor, texture application or modelling tool depending on what type of asset it is. Returns true if all assets opened successfully.