Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseassetPath | Is the path to the asset on disk relative to project folder. |
message | Used to give reason for not open. |
bool True is the asset can be edited.
Use IsOpenForEdit to determine if the asset is open for edit by the version control.
Used to disable editor controls.