We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Camera.current
1 parent 7664efa commit 5f29430Copy full SHA for 5f29430
TABGVR/Player/Floor.cs
@@ -9,6 +9,7 @@ public class Floor : MonoBehaviour
9
{
10
public void Update()
11
12
+ if (Camera.current is null) return;
13
transform.position = Camera.current.transform.position - Controllers.Head.transform.position;
14
}
15
0 commit comments