Created
November 28, 2020 13:28
-
-
Save keijiro/095171096fd0e48d7d4fb1f6a49147ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
class TimeCodeToPosition : MonoBehaviour | |
{ | |
public Klinker.FrameReceiver receiver; | |
void Update() | |
{ | |
var p = transform.localPosition; | |
p.x = (float)receiver.timecodeSeconds; | |
transform.localPosition = p; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment