AssetCreationEndAction
Base class to implement callbacks to be used when creating assets via the project window. You can extend the AssetCreationEndAction and write your own callback.
Read time 4 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor.ProjectWindowCallback
- Assembly: UnityEditor.CoreModule
- Inherits from: ScriptableObject
public abstract class AssetCreationEndAction : ScriptableObject
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. |
| CleanUp | Unity calls this function when the asset has been created allowing user to clean any allocated resources. |
| OnEnable | Unity calls this function when an asset is about to be created, allowing user to setup any actions that needs to be called during the asset creation process from the Project Browser. |
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. |