public void UserJoin()
    {
        var hostAppUser = new HostAppUser(LocalPlayer.PlayerId, $"TestBed User: {LocalPlayer.PlayerId}")
        {
            UserNode = UserNode
        };

        foreach (var kv in UserProperties)
        {
            hostAppUser.Properties[kv.Name] = kv.Value;
        }

        MREApp?.UserJoin(UserNode, hostAppUser, true);
    }
Beispiel #2
0
    public void UserJoin()
    {
        var hostAppUser = new HostAppUser(LocalUser.UserId, $"TestBed User: {LocalUser.UserId}")
        {
            UserGO = UserGameObject
        };

        foreach (var kv in UserProperties)
        {
            hostAppUser.Properties[kv.Name] = kv.Value;
        }

        MREApp?.UserJoin(UserGameObject, hostAppUser);
    }