public void OnActivityReady(MuzzleyActivity activity)
    {
        Debug.Log(activity.QRCodeUrl);

        activity.SetJoinHandler(OnJoin);
        activity.SetQuitHandler(OnQuit);
        activity.SetActionHandler(OnAction);

        activityId = activity.ActivityId;

        OnReady(activity);
    }
Ejemplo n.º 2
0
    public void OnActivityReady(MuzzleyActivity activity)
    {
        Debug.Log(activity.QRCodeUrl);

        qrcodeUrl = activity.QRCodeUrl;

        activity.SetJoinHandler(OnJoin);
        activity.SetQuitHandler(OnQuit);
        activity.SetActionHandler(OnAction);

        showQr = true;
        activityId = activity.ActivityId;
    }