Skip to main content
Version: Next

Mutation

Description

Used to apply mutations (looking at, animations, endpoint behaviours etc) to an agent.

Interface

Type
IMutationService

Inherits

Type
IPauseable

Properties

NameType
processingboolean
appliedLookAtboolean
appliedEndpointAnimationboolean
pauseServiceIPauseService
timerServiceITimerService
dynamicServiceIDynamicService
animationServiceIAnimationService
actionAction
currentLookAtTargetVector3?

Public Methods

NameParametersReturn TypeDescription
MutationServiceVector3? lookAtTarget, IAnimationService animationService, Action actionMutationServiceA constructor for MutationService.
StartIApplicatorService applicatorbooleanStarts processing the mutations to apply to the agent.
IsProcessingIApplicatorService applicatorbooleanChecks if the current mutations are activity being applied.
HasCompletedIApplicatorService applicatorbooleanChecks if the current mutations have been applied to the agent.
GetCurrentTimeN/AfloatReturns how long into applying the mutations it has been.