Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
 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();
 }