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
- Type: Method
- Namespace: UnityEditor
MakeEditable()
public void MakeEditable(string[] arg0, string arg1, List<string> list)
Parameters
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; }}