# IsOpenForEdit(string[], List<string>, StatusQueryOptions)

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)

## IsOpenForEdit()

```csharp
public void IsOpenForEdit(string[] arg0, List<string> list, StatusQueryOptions statusQueryOptions)
```

### Parameters

**** (string\[]): **** (List\<string>): **** (\[StatusQueryOptions]\(/engine/6000.7/script-reference/unityeditor/statusqueryoptions)):&#x20;

### Remarks

Although this is called by Unity's own systems, you can also call it if you are implementing your own Editor tools such as a custom version control integration. Additional Resources: [AssetDatabase.IsOpenForEdit](/engine/6000.7/script-reference/unityeditor/assetdatabase/isopenforedit.md), [StatusQueryOptions](/engine/6000.7/script-reference/unityeditor/statusqueryoptions.md).

### Examples

```csharp

using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

class CustomAssetModificationProcessor : UnityEditor.AssetModificationProcessor
{
    static bool IsOpenForEdit(string[] paths, List<string> outNotEditablePaths, StatusQueryOptions statusQueryOptions)
    {
        Debug.Log("IsOpenForEdit:");
        foreach (var path in paths)
            Debug.Log(path);
        return true;
    }
}
```
