Skip to content

Commit c2baee8

Browse files
committed
Updating client from ClientKit.Update and ClientKit.LateUpdate
1 parent 67cac9c commit c2baee8

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

OSVR-Unity/Assets/OSVRUnity/src/ClientKit.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,20 +114,12 @@ void OnEnable()
114114
EnsureStarted();
115115
}
116116

117-
void FixedUpdate()
118-
{
119-
EnsureStarted();
120-
contextObject.update();
121-
}
122-
123-
//may seem superfluous. the goal here is to update the client more often to make sure we have the most recent tracker data
124-
//this helps reduce latency
125117
void Update()
126118
{
119+
EnsureStarted();
127120
contextObject.update();
128121
}
129-
//may seem superfluous. the goal here is to update the client more often to make sure we have the most recent tracker data
130-
//this helps reduce latency
122+
131123
void LateUpdate()
132124
{
133125
contextObject.update();

0 commit comments

Comments
 (0)