Skip to content

Conversation

soelderer
Copy link

Removes time from baseHeaders and RecordRow. This removes the dependency on Unity API in the base class, which allows RecordRow to be called outside the main tread. It also allows for non-time-based Trackers (e.g. frame count or event based). For the provided prototypes MouseScreenTracker, MouseWorldTracker and PositionRotationTracker, the timestamp is added in GetCurrentValues instead of RecordRow to provide the same functionality as before.

This fixes #181

Removes time from baseHeaders and RecordRow. This removes the dependency on Unity API in the base class, which allows RecordRow to be called outside the main tread. It also allows for non-time-based Trackers (e.g. frame count or event based). For the provided prototypes MouseScreenTracker, MouseWorldTracker and PositionRotationTracker, the timestamp is added in GetCurrentValues to provide the same functionality as before.
@eioe
Copy link

eioe commented Aug 19, 2025

This is a smart fix, imo. I also had to work around this issue already. (With a less elegant solution.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread safety of Trackers
2 participants