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

DataSource Class

Properties

bool Started[Get]
UpdateModeFlags UpdateMode[Get]
bool UpdateModeAfterPrevious[Get]
int CurrentDataVersion[Get]
Returns the current DataAsset, without performing any updates.
Returns
Null if no call to GetData has been made since this data source was initialized.

Protected Fields

bool _started[Get]

Events

Action InputDataAvailable

Protected Functions

virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )
virtual void Update ( )
virtual void FixedUpdate ( )
virtual void LateUpdate ( )
void ResetUpdateAfter
( IDataSource updateAfter,
UpdateModeFlags updateMode )
bool RequiresUpdate ( )
abstract void UpdateData ( )

Member Functions

TData GetData ( )
Marks the DataAsset stored as outdated, which means it will be re-processed JIT during the next call to GetData.
void InjectAllDataSource
( UpdateModeFlags updateMode,
IDataSource updateAfter )
void InjectUpdateMode
( UpdateModeFlags updateMode )
void InjectUpdateAfter
( IDataSource updateAfter )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon