public void OnActivityReady(MuzzleyActivity activity) { Debug.Log(activity.QRCodeUrl); activity.SetJoinHandler(OnJoin); activity.SetQuitHandler(OnQuit); activity.SetActionHandler(OnAction); activityId = activity.ActivityId; OnReady(activity); }
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; }