EndNameEditAction
Base class to implement callbacks to be used when creating assets via the project window. You can extend the EndNameEditAction and write your own callback.
Read time 4 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor.ProjectWindowCallback
- Assembly: UnityEditor.CoreModule
- Inherits from: AssetCreationEndAction
public abstract class EndNameEditAction : AssetCreationEndAction
Methods
Method | Description |
|---|---|
| Action | Unity calls this function when the user accepts an edited name, either by pressing the Enter key or by losing the keyboard input focus. |
| Cancelled | Unity calls this function when the user presses the Escape key to cancel editing a name. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |