Releases: mixer/interactive-unity-plugin
Spark Transactions and Windows Store and Xbox One (non-UWP) support (preview)
This release introduces the ability to read and deduct sparks.
It also includes support for Windows Store and Xbox One (non-UWP) platforms. The support for these platforms is in "Preview".
If you find issues, let us know by filing issues in the issues section.
This release also fixes issue:
#18 - Getting Cost of Buttons Always Returns 0
Certain properties on the Participant were not returning correct values (for instance, LastInputAt)
Spark Transactions
Below is an example of deducting sparks when a button is pressed:
// Register for an event when the user presses a button.
MixerInteractive.OnInteractiveButtonEvent += OnInteractiveButtonEvent;
// Call the CaptureTransaction method on the InteractiveButtonEventArgs
private void OnInteractiveButtonEvent(object sender, InteractiveButtonEventArgs e)
{
e.CaptureTransaction();
}
Breaking Change
The InteractivityManager prefab now persists across scenes (it's marked DontDestroyOnLoad). This was done to address issues on scene transitions or when there was more than one scene loaded at once.
Rather than having an instance of the prefab in each scene, you will want to have one instance of the InteractivityManager prefab.
Fix #17
This release fixes a bug where refreshing the browser will cause participants to stop being able to receive input (unless the Editor was open).
Fixes for various bugs
This release contains the following fixes:
#16 - Mixer Editor Button "Press Down" event giving an error
#13 - BeamManager.SingletonInstance.Participants still seems off
#12 - Changing the Default SceneId or Group SceneId to one that doesn't exist causes Beam.OnGoInteractive to not fire
#10 - InvalidOperationException using foreach with BeamManager.SingletonInstance.Participants
This release also adds a sample showing how to disable buttons, trigger cooldowns and set progress.
Mixer SDK
Today marks a big evolution of our interactive live-streaming platform and a new name for the service: Mixer.
Learn more about the exciting changes, and check out mixer.com.
The new version of the Unity plugin includes the new Mixer namespace. In addition to the plugin, we've included a migration guide that will help you convert calls from the old APIs to the new ones.
------- release notes ---------
If you are migrating from a previous version of the plugin, due to the fix to for #11 - Groups added to the Beam script on the Beam Manager are "cleared" on play, you may need to delete and re-add the InteractivityManager prefab to your scene in order for the groups UI to show up in the inspector for the InteractivityManager.
Fix: Issues #4, #5, #7
Fix: Setting default scene with multiple groups
When using the Beam prefab's property inspector to set the default scene, there were some cases where the default scene would not be set.
Fix: Get button by participant
In the previous version of the SDK, the API to get a button's state by participant was not working. This releases fixes this issue as well as updates the example scene, "Viewer controls a character", to demonstrate how to use the API.
Unity Beam Interactivity SDK (Beta) initial release
Release Notes
This is the beta release of the Unity Beam SDK. If you'd like to get started prototyping an integration, feel free to check out the Wiki.
Note: as the plugin is still in beta, it is subject to change. Feedback is welcome as we make the plugin, samples and documentation even better!
Features
- Button and joystick support
- Group support
- Divide the audience up into different segments with unique controls
- Scene changes
- Win32 build support
- Authentication using OAuth
- Cooldowns - disable a control for a specified period of time
Coming up
- Expanded platform support
- Improved performance, general bug fixes
- Client-side spark transaction handling