Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

EndNameEditAction.Cancelled

Declaration

public void Cancelled(int instanceId, string pathName, string resourceFile);

Parameters

instanceId The instance ID of the asset that the user attempted to edit.
pathName The path to the asset.
resourceFile The resource file string argument passed to ProjectWindowUtil.StartNameEditingIfProjectWindowExists.

Description

Unity calls this function when the user presses the Escape key to cancel editing a name.