Version: 2019.4
public bool acceptedRename ;

説明

Is true if the rename is accepted.

The rename is set as accepted when the user ends rename with Return/Enter or the rename loses focus. The rename is rejected if the user presses Esc while editing.