5using System.Collections.Generic;
6using System.Collections;
19 [DisallowMultipleComponent]
34 EditorUtility.SetDirty(
this);
43 bool modified =
false;
48 string path = AssetDatabase.GetAssetPath(this.gameObject);
49 string guid = AssetDatabase.AssetPathToGUID(path);
53 Debug.Log(
"Level Editor: Resource fileId changed -> " + this.gameObject.name +
" (" +
metadata.
fileId +
" -> " + guid +
")");
59 EditorUtility.SetDirty(
this);