Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MakeEditable(string[], string, List<string>)

Unity calls this method when one or more files need to be opened for editing.
Read time 1 minuteLast updated 5 days ago

Definition

MakeEditable()

public void MakeEditable(string[] arg0, string arg1, List<string> list)

Parameters

arg0

string[]

arg1


list

List<string>

Remarks

It must be static if implemented. Additional Resources: AssetDatabase.MakeEditable.

Examples

using System.Collections.Generic;using UnityEngine;class CustomAssetModificationProcessor : UnityEditor.AssetModificationProcessor{ static bool MakeEditable(string[] paths, string prompt, List<string> outNotEditablePaths) { Debug.Log("MakeEditable:"); foreach (var path in paths) Debug.Log(path); return true; }}