internal static void EndNameEditAction(EndNameEditAction action, int instanceId, string pathName, string resourceFile) { pathName = AssetDatabase.GenerateUniqueAssetPath(pathName); if (action != null) { action.Action(instanceId, pathName, resourceFile); action.CleanUp(); } }
internal static void EndNameEditAction(EndNameEditAction action, int instanceId, string pathName, string resourceFile) { pathName = AssetDatabase.GenerateUniqueAssetPath(pathName); if (!((UnityEngine.Object)action != (UnityEngine.Object)null)) { return; } action.Action(instanceId, pathName, resourceFile); action.CleanUp(); }