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();
 }
		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();
			}
		}
예제 #3
0
 internal static void EndNameEditAction(UnityEditor.ProjectWindowCallback.EndNameEditAction action, int instanceId, string pathName, string resourceFile)
 {
     pathName = AssetDatabase.GenerateUniqueAssetPath(pathName);
     if (action != null)
     {
         action.Action(instanceId, pathName, resourceFile);
         action.CleanUp();
     }
 }