API reference
API reference
Select your platform
No SDKs available
No versions available

UpdateDriverGroup Class

Extends MonoBehaviour, IUpdateDriver
An UpdateDriverGroup updates a set of IUpdateDrivers a specified number of times per update.
It acts as the root driver for a provided set of IUpdateDrivers.

Properties

bool IsRootDriver[Get]
int Iterations[Get]

Protected Fields

List< IUpdateDriver > Drivers[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void Update ( )

Member Functions

Runs the processing to "update" the current instance.
This is conceptually similar to Unity's built-in update mechanism, but bound to a structure which allows execution order to be more explicitly controlled. This is part of Interaction SDK core logic, and it is not recommended that direct dependencies be taken on this execution order. Instead, changes to interaction state should be handled by observing events such as IInteractorView.WhenStateChanged, which will allow correct handling without depending on the details of execution order.
void InjectAllUpdateDriverGroup
( List< IUpdateDriver > updateDrivers )
void InjectUpdateDrivers
( List< IUpdateDriver > updateDrivers )
Did you find this page helpful?