CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ CanMakeEditable() [5/5]

static void CanMakeEditable ( [NotNull] String[] paths,
out List< String > notEditablePaths,
StatusQueryOptions options = DefaultStatusQueryOption )
static

Tests which assets can be made editable and provides a list of paths that cannot be opened for editing in the version control system.

To get a failure message query each individual path.

Parameters
pathsInstances of assets.
notEditablePathsList of paths that cannot be opened for editing. List is empty if all can be opened.
optionsStatusQueryOptions
See also

Definition at line 111 of file Asset.VersionControl.cs.

113 {
114 notEditablePaths = new List<String>();
115 AssetDatabase.CanOpenForEdit(paths, notEditablePaths, options);
116 }