コード例 #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();
     }
 }
コード例 #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();
 }