Documentation

Unity Engine

Download Unity

Unity Engine

Cancelled(EntityId, string, string)

Unity calls this function when the user presses the Escape key to cancel editing a name.
Read time 1 minuteLast updated 2 months ago

Definition

public virtual void Cancelled(EntityId entityId, string pathName, string resourceFile)

Parameters

entityId

The EntityId 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.