ドキュメント

Unity Engine

Unity Engine

Cancelled

Unity calls this function when the user presses the Escape key to cancel editing a name.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

Cancelled(EntityId, string, string)

Unity calls this function when the user presses the Escape key to cancel editing a name.
注意
Removed. EndNameEditAction is obsolete. Use AssetCreationEndAction that uses EntityId instead of int for instance IDs.
public override void Cancelled(EntityId entityId, string pathName, string resourceFile)

Parameters

entityId


pathName

The path to the asset.

resourceFile

The resource file string argument passed to ProjectWindowUtil.StartNameEditingIfProjectWindowExists.

Cancelled(int, string, string)

Unity calls this function when the user presses the Escape key to cancel editing a name.
注意
Removed. EndNameEditAction is obsolete. Use AssetCreationEndAction that uses EntityId instead of int for instance IDs.
public virtual 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.