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

UpdateDriverAfterDataSource Class

Extends MonoBehaviour, IUpdateDriver
An UpdateDriver that drives after an IDataSource has new input data available.

Protected Fields

bool _started[Get]

Properties

bool IsRootDriver[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

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 InjectAllUpdateDriverAfterDataSource
( IUpdateDriver updateDriver,
IDataSource dataSource )
void InjectUpdateDriver
( IUpdateDriver updateDriver )
void InjectDataSource
( IDataSource dataSource )
Did you find this page helpful?