![]() |
CodeSmile AssetDatabase 1.10
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
|
static |
Opens the asset in the application associated with the file's extension.
Optional line and column numbers can be specified for text files and applications that support this.
Unity marked the AssetDatabase integer instance ID overloads obsolete as a warning on 6000.3.23f1 and 6000.4.11f1 and as an error on 6000.5.10f1, and Object.GetInstanceID as a warning on 6000.4.11f1 and an error on 6000.5.10f1. They still exist in the assemblies but can no longer be called, and no non-obsolete way to turn an integer instance ID into an EntityId remains, so from Unity 6000.4 on this method takes an EntityId.
| entityId | The EntityId of the asset to open externally. |
| lineNumber | Optional line number to highlight. Depends on application support. |
| columnNumber | Optional column/character number to highlight. Depends on application support. |