Interface Behavior<T>
Type Parameters
T
Hierarchy
- Behavior
Implemented by
Index
Properties
nameSearch playground for name
gets or sets behavior's name
Methods
attachSearch playground for attach
Called when the behavior is attached to a target
Parameters
target: T
defines the target where the behavior is attached to
Returns void
detachSearch playground for detach
Called when the behavior is detached from its target
Returns void
initSearch playground for init
Function called when the behavior needs to be initialized (after attaching it to a target)
Returns void
Interface used to define a behavior