Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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 5 days ago

Definition

public abstract class AssetCreationEndAction : ScriptableObject

Methods

Method

Description

ActionUnity calls this function when the user accepts an edited name, either by pressing the Enter key or by losing the keyboard input focus.
CancelledUnity calls this function when the user presses the Escape key to cancel editing a name.
CleanUpUnity calls this function when the asset has been created allowing user to clean any allocated resources.
OnEnableUnity 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

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.