AssetModificationProcessor.IsOpenForEdit Manual     Reference     Scripting  
Scripting > Editor Classes > AssetModificationProcessor
AssetModificationProcessor.IsOpenForEdit

function IsOpenForEdit (assetPath : String, out message : String) : boolean

Description

This is called by Unity when inspecting an asset to determine if an editor should be disabled.

This can also be called by custom editor scripts. Requires Team License