Skip to main content

Introduction

The Actor component provides an interface for responding to events and easily finding related objects.

"Actor"

Fields#

NameDescription
RegisterPlace in the Tool Registry so it can be found easily by other components
Registry KeyKey to associate with this instance
On AwakeEvent raised OnAwake
On StartEvent raised OnStart
On EnableEvent raised OnEnable
On DisableEvent raised OnDisable
On DestroyEvent raised OnDestroy
On Children ChangedEvent raised when Children changed
On Parent ChangedEvent raised when Parent changed
On Display Name ChangedEvent raised when Display Name changes
On Color ChangedEvent raised when Color changes
On Portrait ChangedEvent raised when Portrait changed

Properties#

NameDescription
blackboardProvides a shared resource for variables
colorColor associated with this object
displayNameName of the creature or object attached
instanceIdGet the id of this instance of the object
portraitImage associated with this object

Methods#

NameDescription
GetComponentSafeGet component (threadsafe)
GetComponentInChildrenSafeGet components in children (threadsafe)