Link Search Menu Expand Document

Actor (Component)

Montebearo.Discourse.Actor : MonteBehaviour

The Actor component automatically registers an ActorInfo with the ReferenceDatabase (during Awake) such that components can be retrieved on the Actor’s scene object at runtime. This component should live on the character’s gameObject in the scene, and only one per-actor should exist at any given time.


Public Properties

Property Returns Description
Info ActorInfo Returns the ActorInfo with the Id of the ActorReference set in the inspector via References. Not available before Awake().
Animator IActorAnimator Returns the first instance of an IActorAnimator behaviour found on this GameObject.
AudioHandler IAudioHandler Returns the first instance of an IAudioHandler behaviour found on this GameObject.