Skip to content

Commit

Permalink
fix(camera): correct access control of userids
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed Dec 4, 2024
1 parent c330998 commit 7e5992f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Runtime/ArenaCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ public class ArenaCamera : PrettyObject
private float publishInterval; // varies

private string messageType = "object";
public Color displayColor = Color.white;
public string userid = null;
public string camid = null;
public Color displayColor { get; internal set; }
public string userid { get; internal set; }
public string camid { get; internal set; }

[Tooltip("User display name")]
public string displayName = null;
[Tooltip("Path to user head model")]
public string headModelPath = "/static/models/avatars/robobit.glb";
[Tooltip("Override (globalUpdateMs) publish frequency to publish detected transform changes (milliseconds)")]
[Tooltip("Override (cameraUpdateMs) publish frequency to publish detected transform changes (milliseconds)")]
[Range(100, 1000)]
public int cameraUpdateMs = 100;

Expand Down

0 comments on commit 7e5992f

Please sign in to comment.