├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── Source └── InteractiveSDK │ ├── Assets │ ├── MixerInteractive.meta │ └── MixerInteractive │ │ ├── Examples.meta │ │ ├── Examples │ │ ├── Basic.meta │ │ ├── Basic │ │ │ ├── Basic.unity │ │ │ ├── Basic.unity.meta │ │ │ ├── ConnectionStatus.cs │ │ │ ├── ConnectionStatus.cs.meta │ │ │ ├── Instructions.txt │ │ │ ├── Instructions.txt.meta │ │ │ ├── InteractivityToggle.cs │ │ │ └── InteractivityToggle.cs.meta │ │ ├── Buttons.meta │ │ ├── Buttons │ │ │ ├── Buttons.unity │ │ │ ├── Buttons.unity.meta │ │ │ ├── HealthValue.cs │ │ │ ├── HealthValue.cs.meta │ │ │ ├── Instructions.txt │ │ │ └── Instructions.txt.meta │ │ ├── Groups.meta │ │ ├── Groups │ │ │ ├── Groups.cs │ │ │ ├── Groups.cs.meta │ │ │ ├── Groups.unity │ │ │ ├── Groups.unity.meta │ │ │ ├── Instructions.txt │ │ │ └── Instructions.txt.meta │ │ ├── Joysticks.meta │ │ ├── Joysticks │ │ │ ├── Instructions.txt │ │ │ ├── Instructions.txt.meta │ │ │ ├── Joysticks.unity │ │ │ ├── Joysticks.unity.meta │ │ │ ├── Move.cs │ │ │ └── Move.cs.meta │ │ ├── Throttling input, disabling and setting progress.meta │ │ ├── Throttling input, disabling and setting progress │ │ │ ├── DisableButtonLogic.cs │ │ │ ├── DisableButtonLogic.cs.meta │ │ │ ├── Instructions.txt │ │ │ ├── Instructions.txt.meta │ │ │ ├── SetProgressLogic.cs │ │ │ ├── SetProgressLogic.cs.meta │ │ │ ├── ThrottleDisableAndSetProgress.unity │ │ │ ├── ThrottleDisableAndSetProgress.unity.meta │ │ │ ├── TriggerCooldownLogic.cs │ │ │ └── TriggerCooldownLogic.cs.meta │ │ ├── Viewer controls a character.meta │ │ └── Viewer controls a character │ │ │ ├── ControlCharacter.cs │ │ │ ├── ControlCharacter.cs.meta │ │ │ ├── Instructions.txt │ │ │ ├── Instructions.txt.meta │ │ │ ├── ViewerControlsACharacter.unity │ │ │ └── ViewerControlsACharacter.unity.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ ├── InteractivityManager.prefab │ │ ├── InteractivityManager.prefab.meta │ │ ├── Media.meta │ │ └── Media │ │ │ ├── mixer-logo.png │ │ │ └── mixer-logo.png.meta │ │ ├── Readme.txt │ │ ├── Readme.txt.meta │ │ ├── Source.meta │ │ └── Source │ │ ├── DLLs.meta │ │ ├── DLLs │ │ ├── ERA.meta │ │ ├── ERA │ │ │ ├── MixerEraNativePlugin.dll │ │ │ ├── MixerEraNativePlugin.dll.meta │ │ │ ├── MixerEraNativePlugin.exp │ │ │ ├── MixerEraNativePlugin.exp.meta │ │ │ ├── MixerEraNativePlugin.lib │ │ │ ├── MixerEraNativePlugin.lib.meta │ │ │ ├── MixerEraNativePlugin.pdb │ │ │ ├── MixerEraNativePlugin.pdb.meta │ │ │ ├── MixerEraNativePlugin.pri │ │ │ ├── MixerEraNativePlugin.pri.meta │ │ │ ├── simplewebsocket.dll │ │ │ ├── simplewebsocket.dll.meta │ │ │ ├── simplewebsocket.pdb │ │ │ └── simplewebsocket.pdb.meta │ │ ├── UWP.meta │ │ ├── UWP │ │ │ ├── Newtonsoft.Json.dll │ │ │ ├── Newtonsoft.Json.dll.meta │ │ │ ├── Newtonsoft.Json.xml │ │ │ ├── Newtonsoft.Json.xml.meta │ │ │ ├── x64.meta │ │ │ ├── x64 │ │ │ │ ├── simplewebsocket.dll │ │ │ │ ├── simplewebsocket.dll.meta │ │ │ │ ├── simplewebsocket.pdb │ │ │ │ └── simplewebsocket.pdb.meta │ │ │ ├── x86.meta │ │ │ └── x86 │ │ │ │ ├── simplewebsocket.dll │ │ │ │ ├── simplewebsocket.dll.meta │ │ │ │ ├── simplewebsocket.pdb │ │ │ │ └── simplewebsocket.pdb.meta │ │ ├── Websocket.cs │ │ ├── Websocket.cs.meta │ │ ├── Win32.meta │ │ └── Win32 │ │ │ ├── Newtonsoft.Json.dll │ │ │ ├── Newtonsoft.Json.dll.meta │ │ │ ├── websocket-sharp.dll │ │ │ ├── websocket-sharp.dll.meta │ │ │ ├── x64.meta │ │ │ ├── x64 │ │ │ ├── simplewebsocket.dll │ │ │ ├── simplewebsocket.dll.meta │ │ │ ├── simplewebsocket.pdb │ │ │ └── simplewebsocket.pdb.meta │ │ │ ├── x86.meta │ │ │ └── x86 │ │ │ ├── simplewebsocket.dll │ │ │ ├── simplewebsocket.dll.meta │ │ │ ├── simplewebsocket.pdb │ │ │ └── simplewebsocket.pdb.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── InteractiveManagerEditor.cs │ │ ├── InteractiveManagerEditor.cs.meta │ │ ├── InteractivePlugin.cs │ │ ├── InteractivePlugin.cs.meta │ │ ├── InteractiveSettingsWindow.cs │ │ └── InteractiveSettingsWindow.cs.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ ├── InteractiveButtonControl.cs │ │ ├── InteractiveButtonControl.cs.meta │ │ ├── InteractiveButtonEventArgs.cs │ │ ├── InteractiveButtonEventArgs.cs.meta │ │ ├── InteractiveControl.cs │ │ ├── InteractiveControl.cs.meta │ │ ├── InteractiveControlProperty.cs │ │ ├── InteractiveControlProperty.cs.meta │ │ ├── InteractiveCoordinatesChangedEventArgs.cs │ │ ├── InteractiveCoordinatesChangedEventArgs.cs.meta │ │ ├── InteractiveEventArgs.cs │ │ ├── InteractiveEventArgs.cs.meta │ │ ├── InteractiveEventType.cs │ │ ├── InteractiveEventType.cs.meta │ │ ├── InteractiveGroup.cs │ │ ├── InteractiveGroup.cs.meta │ │ ├── InteractiveJoystickControl.cs │ │ ├── InteractiveJoystickControl.cs.meta │ │ ├── InteractiveJoystickEventArgs.cs │ │ ├── InteractiveJoystickEventArgs.cs.meta │ │ ├── InteractiveLabelControl.cs │ │ ├── InteractiveLabelControl.cs.meta │ │ ├── InteractiveMessageEventArgs.cs │ │ ├── InteractiveMessageEventArgs.cs.meta │ │ ├── InteractiveMouseButtonEventArgs.cs │ │ ├── InteractiveMouseButtonEventArgs.cs.meta │ │ ├── InteractiveParticipant.cs │ │ ├── InteractiveParticipant.cs.meta │ │ ├── InteractiveParticipantJoinEventArgs.cs │ │ ├── InteractiveParticipantJoinEventArgs.cs.meta │ │ ├── InteractiveParticipantLeaveEventArgs.cs │ │ ├── InteractiveParticipantLeaveEventArgs.cs.meta │ │ ├── InteractiveParticipantState.cs │ │ ├── InteractiveParticipantState.cs.meta │ │ ├── InteractiveParticipantStateChangeEventArgs.cs │ │ ├── InteractiveParticipantStateChangeEventArgs.cs.meta │ │ ├── InteractiveScene.cs │ │ ├── InteractiveScene.cs.meta │ │ ├── InteractiveTextControl.cs │ │ ├── InteractiveTextControl.cs.meta │ │ ├── InteractiveTextEventArgs.cs │ │ ├── InteractiveTextEventArgs.cs.meta │ │ ├── InteractiveTextResult.cs │ │ ├── InteractiveTextResult.cs.meta │ │ ├── InteractivityManager.cs │ │ ├── InteractivityManager.cs.meta │ │ ├── InteractivityState.cs │ │ ├── InteractivityState.cs.meta │ │ ├── InteractivityStateChangedEventArgs.cs │ │ ├── InteractivityStateChangedEventArgs.cs.meta │ │ ├── LoggingLevel.cs │ │ ├── LoggingLevel.cs.meta │ │ ├── MixerInteractive.cs │ │ ├── MixerInteractive.cs.meta │ │ ├── MixerInteractiveDialog.cs │ │ ├── MixerInteractiveDialog.cs.meta │ │ ├── MixerInteractiveHelper.cs │ │ └── MixerInteractiveHelper.cs.meta │ └── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ └── UnityConnectSettings.asset ├── documentation └── media │ └── images │ ├── getting-started-add-beammanager-prefab-to-hierarchy.png │ ├── getting-started-click-build-tab.png │ ├── getting-started-click-code-tag.png │ ├── getting-started-click-manage-oath.png │ ├── getting-started-create-give-health-button.png │ ├── getting-started-create-new-project.png │ ├── getting-started-edit-give-health-properties.png │ ├── getting-started-get-client-id-value.png │ ├── getting-started-get-project-version.PNG │ ├── getting-started-import-unity-package.png │ ├── getting-started-locate-prefab.png │ ├── getting-started-share-code.png │ ├── interactive-studio-add-textbox.PNG │ ├── mixer_unity_menu.png │ ├── mouse_control_properties.png │ ├── select_mouse_control.png │ ├── share-code-sharebutton.png │ ├── shareCode-share-dialog.png │ ├── unity_interactive_edit.png │ ├── unreal-enable-plugin.PNG │ ├── unreal-give-health-blueprint.PNG │ ├── unreal-login-blueprint.PNG │ ├── unreal-oauth-values.PNG │ ├── unreal-save-local.PNG │ ├── unreal-studio-givehealth.PNG │ ├── unreal-studio-link-to-unreal.PNG │ ├── unreal-studio-new-oauth-2.PNG │ └── unreal-studio-new-oauth.PNG ├── roadmap.md └── unreal-studio-new-oauth.PNG /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Everything 2 | * 3 | 4 | # Allow into the tree 5 | !*/ 6 | 7 | # But not these files... 8 | !.gitignore 9 | !CONTRIBUTING.md 10 | !LICENSE.md 11 | !README.md 12 | !roadmap.md 13 | !unreal-studio-new-oauth.png 14 | !documentation/**/* 15 | !Source/InteractiveSDK/Assets/MixerInteractive/** 16 | !Source/InteractiveSDK/ProjectSettings/** 17 | 18 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution Guidelines 2 | 3 | There are many different ways in which you can contribute! Please submit issues, questions, bug reports, feature requests, bug fixes, improvements, and new features. 4 | 5 | ### Report bugs and request features 6 | 7 | Issues and feature requests are submitted through the project's [issue tracker](../issues) section on GitHub. Please use the following guidelines when you submit issues and feature requests: 8 | 9 | * Make sure the issue is not already reported by searching through the list of issues 10 | * Provide a detailed description of the issue including the following information: 11 | * Which feature the issue appears in 12 | * Under what circumstances the issue appears 13 | * What is the desired behavior 14 | * What is breaking 15 | * What is the impact (things like loss or corruption of data, compromising security, disruption of service etc.) 16 | * Any code that will be helpful to reproduce the issue 17 | 18 | ### Create bug fixes and features 19 | 20 | Please submit any changes as a Pull Request against the development branch. Make sure to write a detailed message describing the changes in the Pull Request. This will help us quickly determine what changes (if any) need to be made for it to be ready for integration. 21 | 22 | _Note: Please keep in mind that not all requests will be approved. Requests are reviewed by the team on a regular basis and will be updated with the status at each review. If your request is accepted you will receive information about the next steps and when the request will be integrated in the development branch. If your request is rejected you will receive information about the reasons why it was rejected._ 23 | 24 | ### Contribution guidelines 25 | 26 | Before you start working on bug fixes and features it is good idea to discuss those broadly with the community. You can use the [issue tracker](../issues) for this purpose. Before submitting your changes make sure you followed the guidelines below: 27 | 28 | * You have properly documented any new functionality 29 | * For any new functionality you have written complete unit tests 30 | * You have run all unit tests and they pass 31 | * In order to speed up the process of accepting your contributions, you should try to make your checkins as small as possible, avoid any unnecessary deltas and the need to rebase. -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in all 15 | copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NOTE: This repo is no longer being maintained by Microsoft. 2 | You can find more information here: https://dev.mixer.com/blog/mixplaysdkchanges 3 | 4 | -------------- 5 | 6 | ## Welcome! 7 | 8 | The Mixer Unity plugin helps you add features to your game that let the audience interact with people streaming your game! 9 | 10 | ## Documentation 11 | 12 | Checkout the Project's [Wiki](https://github.com/mixer/interactive-unity-plugin/wiki) for documentation, including a [Getting Started](https://github.com/mixer/interactive-unity-plugin/wiki/Getting-started) guide. 13 | 14 | ## Doing something cool with Mixer? 15 | 16 | We'd love to hear about it. Send us an email at mixerdevinfo@microsoft.com. 17 | 18 | ## Having Trouble? 19 | 20 | We want to help you fix your problem. The most efficient way to do that is to open an issue in our [issue Tracker](https://github.com/Mixer/interactive-unity-plugin/issues). 21 | 22 | ### Quick Links 23 | 24 | * [Issue Tracker](https://github.com/Mixer/interactive-unity-plugin/issues) 25 | 26 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 27 | 28 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26ccbb9031b628741aed1418c8c4df68 3 | folderAsset: yes 4 | timeCreated: 1513037622 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a7f012f2ef65b44594b3a105d7b4a9f 3 | folderAsset: yes 4 | timeCreated: 1492390045 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06fb975b36d1f994881b724aa4f32de6 3 | folderAsset: yes 4 | timeCreated: 1492118334 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/Basic.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/Basic.unity -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/Basic.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f6e07390e598414a8217b88181bc28b 3 | timeCreated: 1492121699 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/ConnectionStatus.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using Microsoft.Mixer; 26 | using UnityEngine; 27 | using UnityEngine.UI; 28 | 29 | namespace MixerInteractiveExamples 30 | { 31 | public class ConnectionStatus : MonoBehaviour 32 | { 33 | 34 | // Use this for initialization 35 | void Start() 36 | { 37 | // Register for OnInteractivityStateChanged to get notified when the 38 | // InteractivityState property changes. 39 | MixerInteractive.OnInteractivityStateChanged += OnInteractivityStateChanged; 40 | } 41 | 42 | private void OnInteractivityStateChanged(object sender, InteractivityStateChangedEventArgs e) 43 | { 44 | // When the InteractivityState property is InteractivityEnabled 45 | // that means your game is fully connected to the Mixer service and able to 46 | // recieve interactive input from the audience. 47 | if (MixerInteractive.InteractivityState == InteractivityState.InteractivityEnabled) 48 | { 49 | var connectionStatus = GetComponent(); 50 | connectionStatus.text = "Success: Connected!"; 51 | } 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/ConnectionStatus.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d86b378c7c01a1c429fc9ad2d0e0169e 3 | timeCreated: 1492122589 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/Instructions.txt: -------------------------------------------------------------------------------- 1 | Overview 2 | ----------------------------------------------------------------------------------------------------- 3 | This example demonstrates how to connect to the Mixer service. 4 | 5 | Instructions 6 | ----------------------------------------------------------------------------------------------------- 7 | 1. Open the Mixer menu and select "Interactive Studio". 8 | 2. Create a new project. 9 | 3. Go to the Build tab. 10 | 4. Create a new button control. Name it "giveHealth". 11 | 5. Place the button on the grid. 12 | 6. Click the save button. 13 | 7. Go to the Code tab. 14 | 8. Click the "OAuth Clients" link. 15 | 9. On the OAuth Clients page, click the "Create new client" button. 16 | 10. Create a new OAuth client with the following information: 17 | * Name: "Test" 18 | * Website: "http://mixer.com" 19 | * Hosts: "*.mixer.com" 20 | 11. Click "Create Client" to save. 21 | 12. In the table, copy the value in the ID column. 22 | 13. Go to Unity. 23 | 14. Open the Mixer menu and select "Open Mixer Editor". 24 | 15. Paste the ID from step 7 into the "OAuth Client ID" field. 25 | 16. Paste the code from step 8 into the "ProjectVersionID" field in the editor. 26 | 17. Click the "Save project information" button. 27 | 18. Press play in Unity editor. 28 | 19. Check the "Mixer Interactivity" toggle. 29 | 20. A code will be displayed. Go to http://mixer.com/go and enter the code. 30 | 21. Click yes on the permissions dialog. 31 | 22. Go to your channel: http://mixer.com/. 32 | 23. You can see that you are successfully connected and your button from step 4 will appear. 33 | 34 | Notes: 35 | If you do not see the code dialog dissapear, you may need to click the 36 | Go Interactive button on your channel page and select the project you created 37 | in step 2. -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/Instructions.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f4a7f0ea9201054d8e827e2f542dbb7 3 | timeCreated: 1492122524 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/InteractivityToggle.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Mixer; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.UI; 6 | 7 | public class InteractivityToggle : MonoBehaviour { 8 | 9 | private Toggle toggle; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | toggle = GetComponent(); 14 | //Add listener for when the state of the Toggle changes, to take action 15 | toggle.onValueChanged.AddListener(delegate { 16 | if (toggle.isOn) 17 | { 18 | MixerInteractive.StartInteractive(); 19 | } 20 | else 21 | { 22 | MixerInteractive.StopInteractive(); 23 | } 24 | }); 25 | } 26 | 27 | // Update is called once per frame 28 | void Update () { 29 | // Update the state of the toggle to show if interactivity 30 | // is currently enabled or not. 31 | if (MixerInteractive.InteractivityState == InteractivityState.InteractivityDisabled || 32 | MixerInteractive.InteractivityState == InteractivityState.NotInitialized) 33 | { 34 | toggle.isOn = false; 35 | } 36 | else 37 | { 38 | toggle.isOn = true; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Basic/InteractivityToggle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15a7bedb99110604182f9a37a8b5d4d8 3 | timeCreated: 1523367557 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70d0b398074bd3043b6caa556d63a229 3 | folderAsset: yes 4 | timeCreated: 1492118361 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/Buttons.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/Buttons.unity -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/Buttons.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11cd15da6c41a8640a1acf0e7b54ec1e 3 | timeCreated: 1492123442 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/HealthValue.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using Microsoft.Mixer; 26 | using UnityEngine; 27 | using UnityEngine.UI; 28 | 29 | namespace MixerInteractiveExamples 30 | { 31 | public class HealthValue : MonoBehaviour 32 | { 33 | public Text healthText; 34 | public Text viewerRecognitionText; 35 | 36 | // Use this for initialization 37 | void Start() 38 | { 39 | // Call GoInteractive to connect to the Mixer service so you can start 40 | // recieving input. 41 | MixerInteractive.GoInteractive(); 42 | } 43 | 44 | // Update is called once per frame 45 | void Update() 46 | { 47 | // If the button with an ID of "giveHealth" is pressed, then increase 48 | // the player's health by 1. 49 | if (MixerInteractive.GetButton("giveHealth")) 50 | { 51 | int currentHealth = int.Parse(healthText.text); 52 | currentHealth++; 53 | healthText.text = currentHealth.ToString(); 54 | 55 | // It's always a good idea to recognize the viewer. They love seeing their name 56 | // on the screen. 57 | InteractiveParticipant participant = MixerInteractive.GetParticipantWhoGaveInputForControl("giveHealth"); 58 | if (participant != null) 59 | { 60 | viewerRecognitionText.text = participant.UserName + " gave you health!"; 61 | } 62 | } 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/HealthValue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b796a23e647e3544bf86ee2637fb73d 3 | timeCreated: 1492295660 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/Instructions.txt: -------------------------------------------------------------------------------- 1 | Overview 2 | ===================================================================================================== 3 | This sample demonstrates how to create a button for your Mixer viewers and how to recieve input 4 | from that button in your game code. 5 | 6 | Instructions 7 | ----------------------------------------------------------------------------------------------------- 8 | 1. Open the Mixer menu and select "Interactive Studio". 9 | 2. Create a new project. 10 | 3. Go to the Build tab. 11 | 4. Create a new button control. Name it "giveHealth". 12 | 5. Place the button on the grid. 13 | 6. Click the save button. 14 | 7. Go to the Code tab. 15 | 8. Click the "OAuth Clients" link. 16 | 9. On the OAuth Clients page, click the "Create new client" button. 17 | 10. Create a new OAuth client with the following information: 18 | * Name: "Test" 19 | * Website: "http://mixer.com" 20 | * Hosts: "*.mixer.com" 21 | 11. Click "Create Client" to save. 22 | 12. In the table, copy the value in the ID column. 23 | 13. Go to Unity. 24 | 14. Open the Mixer menu and select "Open Mixer Editor". 25 | 15. Paste the ID from step 7 into the "OAuth Client ID" field. 26 | 16. Paste the code from step 8 into the "ProjectVersionID" field in the editor. 27 | 17. Click the "Save project information" button. 28 | 18. Press play in Unity editor. 29 | 19. A code will be displayed. Go to http://mixer.com/go and enter the code. 30 | 20. Click yes on the permissions dialog. 31 | 21. Go to your Mixer channel: http://mixer.com/. 32 | 22. Press the Give Health button. 33 | 23. The player health increases. -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Buttons/Instructions.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23a252f944b5abd43a4e5e0f68df5a9f 3 | timeCreated: 1492122524 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5b8947f6f3d1a340a1d97dc95619e42 3 | folderAsset: yes 4 | timeCreated: 1492118334 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Groups.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using Microsoft.Mixer; 26 | using UnityEngine; 27 | using UnityEngine.UI; 28 | 29 | namespace MixerInteractiveExamples 30 | { 31 | public class Groups : MonoBehaviour 32 | { 33 | 34 | public Text group1Text; 35 | public Text group2Text; 36 | 37 | // Use this for initialization 38 | void Start() 39 | { 40 | // You can listen for the OnParticipantStateChanged event which will tell you when a participant 41 | // has joined or left. Participants are people viewing the broadcast. 42 | MixerInteractive.OnParticipantStateChanged += OnParticipantStateChanged; 43 | MixerInteractive.GoInteractive(); 44 | } 45 | 46 | private void OnParticipantStateChanged(object sender, InteractiveParticipantStateChangedEventArgs e) 47 | { 48 | // Every time a new participant joins randomly assign them to a new group. Groups can 49 | // be used to show different sets of controls to your audience. 50 | InteractiveParticipant participant = e.Participant; 51 | if (participant.State == InteractiveParticipantState.Joined && 52 | MixerInteractive.Groups.Count >= 2) 53 | { 54 | int group = Mathf.CeilToInt(Random.value * 2); 55 | if (group == 1) 56 | { 57 | participant.Group = MixerInteractive.GetGroup("Group1"); 58 | group1Text.text += "\n" + participant.UserName; 59 | } 60 | else 61 | { 62 | participant.Group = MixerInteractive.GetGroup("Group2"); 63 | group2Text.text += "\n" + participant.UserName; 64 | } 65 | } 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Groups.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f97e0242af5e99642a614f6729618264 3 | timeCreated: 1493234156 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Groups.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Groups.unity -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Groups.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 633af0238b6ca674ca5de59d924391c0 3 | timeCreated: 1492121699 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Instructions.txt: -------------------------------------------------------------------------------- 1 | Overview 2 | ----------------------------------------------------------------------------------------------------- 3 | This example demonstrates how to use groups. Groups can be used to segment the audience 4 | and show different controls to different people. For example, you could divide the audience into 5 | teams. Or you can have groups of 1, where each participant controls a character and is shown 6 | different controls based on which character they get to control. 7 | 8 | Instructions 9 | ----------------------------------------------------------------------------------------------------- 10 | 1. Open the Mixer menu and select "Interactive Studio". 11 | 2. Create a new project. 12 | 3. Go to the Build tab. 13 | 4. Create a new scene. Name it "Group1". 14 | 5. Create a new button control. Name it "button1" and set the text to "Button 1". 15 | 6. Place the button on the grid. 16 | 7. Create another scene. Name it "Group2". 17 | 8. Create a new button control. Name it "button2" and set the text to "Button 2". 18 | 9. Place the button on the grid. 19 | 10. Click the save button. 20 | 11. Go to the Code tab. 21 | 12. Click the "OAuth Clients" link. 22 | 13. On the OAuth Clients page, click the "Create new client" button. 23 | 14. Create a new OAuth client with the following information: 24 | * Name: "Test" 25 | * Website: "http://mixer.com" 26 | * Hosts: "*.mixer.com" 27 | 15. Click "Create Client" to save. 28 | 16. In the table, copy the value in the ID column. 29 | 17. Go to Unity. 30 | 18. Open the Mixer menu and select "Open Mixer Editor". 31 | 19. Paste the ID from step 7 into the "OAuth Client ID" field. 32 | 20. Paste the code from step 8 into the "ProjectVersionID" field in the editor. 33 | 21. Click the "Save project information" button. 34 | 22. In the Hierarchy window, click on the InteractivityManager. 35 | 22. In the Inspector window for the InteractivityManager, in the Groups section, add the following groups: 36 | * GroupID: "Group1", SceneID: "Group1" 37 | * GroupID: "Group2", SceneID: "Group2" 38 | 22. Press play in Unity editor. 39 | 23. A code will be displayed. Go to http://mixer.com/go and enter the code. 40 | 24. Click yes on the permissions dialog. 41 | 25. Go to your Mixer channel: http://mixer.com/. 42 | 26. The Unity window will print the name of your Mixer user and put it in a group. 43 | 27. There are two groups. Depending on which group the user is placed in, 44 | they will be show different controls. -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Groups/Instructions.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b7db153c6aef0f46a6ab89a378c8131 3 | timeCreated: 1492122524 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f78422e8fdb8c146a9693e3e5101d44 3 | folderAsset: yes 4 | timeCreated: 1492118351 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Instructions.txt: -------------------------------------------------------------------------------- 1 | Overview 2 | ===================================================================================================== 3 | This example demonstrates how to create joystick control for your viewers and how to recieve 4 | input from the controls in your game. 5 | 6 | Instructions 7 | ----------------------------------------------------------------------------------------------------- 8 | 1. Open the Mixer menu and select "Interactive Studio". 9 | 2. Create a new project. 10 | 3. Go to the Build tab. 11 | 4. Create a new joystick control. Name it "move". 12 | 5. Place the joystick on the grid. 13 | 6. Click the save button. 14 | 7. Go to the Code tab. 15 | 8. Click the "OAuth Clients" link. 16 | 9. On the OAuth Clients page, click the "Create new client" button. 17 | 10. Create a new OAuth client with the following information: 18 | * Name: "Test" 19 | * Website: "http://mixer.com" 20 | * Hosts: "*.mixer.com" 21 | 11. Click "Create Client" to save. 22 | 12. In the table, copy the value in the ID column. 23 | 13. Go to Unity. 24 | 14. Open the Mixer menu and select "Open Mixer Editor". 25 | 15. Paste the ID from step 7 into the "OAuth Client ID" field. 26 | 16. Paste the code from step 8 into the "ProjectVersionID" field in the editor. 27 | 17. Click the "Save project information" button. 28 | 18. Press play in Unity editor. 29 | 19. A code will be displayed. Go to http://mixer.com/go and enter the code. 30 | 20. Click yes on the permissions dialog. 31 | 21. Go to your Mixer channel: http://mixer.com/. 32 | 22. On your channel page, you will see a joystick. 33 | 23. You can move the joystick to control the capsule in Unity. -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Instructions.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6c0fc4ad37492d4c8c3be6677c6d194 3 | timeCreated: 1492296216 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Joysticks.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Joysticks.unity -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Joysticks.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d0e9228af1bd4945acd085cf9decefa 3 | timeCreated: 1492123450 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Move.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using UnityEngine; 26 | 27 | namespace MixerInteractiveExamples 28 | { 29 | public class Move : MonoBehaviour 30 | { 31 | 32 | public float speed; 33 | 34 | // Use this for initialization 35 | void Start() 36 | { 37 | // Call GoInteractive to connect to the Mixer service so you can start 38 | // recieving input. 39 | MixerInteractive.GoInteractive(); 40 | } 41 | 42 | // Update is called once per frame 43 | void Update() 44 | { 45 | // Respond to joystick input from the viewer by calling GetJoystickX and GetJoystickY 46 | // and moving the player. 47 | if (MixerInteractive.GetJoystickX("move") < 0) 48 | { 49 | transform.position += new Vector3(-1 * speed, 0, 0); 50 | } 51 | else if (MixerInteractive.GetJoystickX("move") > 0) 52 | { 53 | transform.position += new Vector3(speed, 0, 0); 54 | } 55 | if (MixerInteractive.GetJoystickY("move") < 0) 56 | { 57 | transform.position += new Vector3(0, -1 * speed, 0); 58 | } 59 | else if (MixerInteractive.GetJoystickY("move") > 0) 60 | { 61 | transform.position += new Vector3(0, speed, 0); 62 | } 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Joysticks/Move.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ac7edea8d38808478cfeccaa1a0c123 3 | timeCreated: 1492296726 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3db24788d43670488d4ce5922ad2a59 3 | folderAsset: yes 4 | timeCreated: 1496239698 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/DisableButtonLogic.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using Microsoft.Mixer; 26 | using UnityEngine; 27 | 28 | namespace MixerInteractiveExamples 29 | { 30 | public class DisableButtonLogic : MonoBehaviour 31 | { 32 | 33 | public void Start() 34 | { 35 | MixerInteractive.GoInteractive(); 36 | } 37 | 38 | public void ToggleDisabled() 39 | { 40 | // Get a reference to the button. 41 | var button = InteractivityManager.SingletonInstance.GetButton("giveHealth"); 42 | 43 | // You can check the current Enabled / Disabled state of a button through the Disabled property. 44 | if (button.Disabled) 45 | { 46 | // Call the SetDisabled method with 'false' to enable a button that has been disabled. 47 | button.SetDisabled(false); 48 | } 49 | else 50 | { 51 | // Call the SetDisabled method with 'true' to disable a button. 52 | button.SetDisabled(true); 53 | } 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/DisableButtonLogic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88987b56538e6f7439ab0ab1b9e4d573 3 | timeCreated: 1496242424 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/Instructions.txt: -------------------------------------------------------------------------------- 1 | Overview 2 | ===================================================================================================== 3 | This sample demonstrates how to prevent user input by either disabling a button or setting a cooldown. 4 | This sample also shows how to show progress for a button. 5 | 6 | Instructions 7 | ----------------------------------------------------------------------------------------------------- 8 | 1. Open the Mixer menu and select "Interactive Studio". 9 | 2. Create a new project. 10 | 3. Go to the Build tab. 11 | 4. Create a new button control. Name it "giveHealth". 12 | 5. Place the button on the grid. 13 | 6. Click the save button. 14 | 7. Go to the Code tab. 15 | 8. Click the "OAuth Clients" link. 16 | 9. On the OAuth Clients page, click the "Create new client" button. 17 | 10. Create a new OAuth client with the following information: 18 | * Name: "Test" 19 | * Website: "http://mixer.com" 20 | * Hosts: "*.mixer.com" 21 | 11. Click "Create Client" to save. 22 | 12. In the table, copy the value in the ID column. 23 | 13. Go to Unity. 24 | 14. Open the Mixer menu and select "Open Mixer Editor". 25 | 15. Paste the ID from step 7 into the "OAuth Client ID" field. 26 | 16. Paste the code from step 8 into the "ProjectVersionID" field in the editor. 27 | 17. Click the "Save project information" button. 28 | 18. Press play in Unity editor. 29 | 19. A code will be displayed. Go to http://mixer.com/go and enter the code. 30 | 20. Click yes on the permissions dialog. 31 | 21. Go to your Mixer channel: http://mixer.com/. 32 | 22. Press the "Toggle Disable / Enable" button to see the button on the channel disabled and enabled. 33 | 23. Press the "Trigger 30 second cooldown" button to see the button on the channel show a cooldown timer. 34 | 24. Press the "Set progress to 50%" button to see the button on the channel show a progress bar that is 50% full. -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/Instructions.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b79160f4a011b8e40912695a2f8d2144 3 | timeCreated: 1493386942 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/SetProgressLogic.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using Microsoft.Mixer; 26 | using System.Collections; 27 | using System.Collections.Generic; 28 | using UnityEngine; 29 | 30 | namespace MixerInteractiveExamples 31 | { 32 | public class SetProgressLogic : MonoBehaviour 33 | { 34 | public void SetProgress() 35 | { 36 | // Get a reference to the button. 37 | var button = InteractivityManager.SingletonInstance.GetButton("giveHealth"); 38 | 39 | // Calling SetProgress, will show a progress indicator on the button. The method takes a value 40 | // between 0 and 1, where 0 is 0% and 1 is 100%. 41 | button.SetProgress(0.5f); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/SetProgressLogic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37c5fd8a802a7e84181e1b049d230657 3 | timeCreated: 1496243053 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/ThrottleDisableAndSetProgress.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/ThrottleDisableAndSetProgress.unity -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/ThrottleDisableAndSetProgress.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0645e8fb1632d5e4cbd3075a0a638c07 3 | timeCreated: 1492614626 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/TriggerCooldownLogic.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using UnityEngine; 26 | 27 | namespace MixerInteractiveExamples 28 | { 29 | public class TriggerCooldownLogic : MonoBehaviour 30 | { 31 | public void TriggerCooldown() 32 | { 33 | // Trigger a cooldown for 30 seconds. This will prevent viewers from 34 | // pressing the button again for 30 seconds. 35 | // Note: The cooldown time is in milliseconds. 36 | MixerInteractive.TriggerCooldown("giveHealth", 30000); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Throttling input, disabling and setting progress/TriggerCooldownLogic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a45f67f2fe72f94fbc39c7832b8ad34 3 | timeCreated: 1496242411 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d120561681753f643bb590ff3068d25a 3 | folderAsset: yes 4 | timeCreated: 1492614570 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/ControlCharacter.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using Microsoft.Mixer; 26 | using UnityEngine; 27 | 28 | namespace MixerInteractiveExamples 29 | { 30 | public class ControlCharacter : MonoBehaviour 31 | { 32 | public float speed; 33 | 34 | private string participantID; 35 | 36 | // Use this for initialization 37 | void Start() 38 | { 39 | MixerInteractive.GoInteractive(); 40 | } 41 | 42 | // Update is called once per frame 43 | void Update() 44 | { 45 | // Chose a participant to control this character. 46 | if (MixerInteractive.Participants.Count > 0) 47 | { 48 | // For this example, we'll choose the 1st participant. 49 | participantID = MixerInteractive.Participants[0].SessionID; 50 | } 51 | 52 | // Allow the audience to control the in game character. 53 | // Note: If participantID is empty it is fine. There won't be errors, we 54 | // just won't recieve input recieved until a participant joins the stream. 55 | if (InteractivityManager.SingletonInstance.GetJoystick("move").GetX(participantID) < 0) 56 | { 57 | transform.position += new Vector3(-1 * speed, 0, 0); 58 | } 59 | else if (InteractivityManager.SingletonInstance.GetJoystick("move").GetX(participantID) > 0) 60 | { 61 | transform.position += new Vector3(speed, 0, 0); 62 | } 63 | if (InteractivityManager.SingletonInstance.GetJoystick("move").GetY(participantID) < 0) 64 | { 65 | transform.position += new Vector3(0, -1 * speed, 0); 66 | } 67 | else if (InteractivityManager.SingletonInstance.GetJoystick("move").GetY(participantID) > 0) 68 | { 69 | transform.position += new Vector3(0, speed, 0); 70 | } 71 | 72 | // Allow the audience to make the player spin. 73 | if (InteractivityManager.SingletonInstance.GetButton("spin").GetButtonPressed(participantID)) { 74 | transform.Rotate(0, 0, 10f); 75 | } 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/ControlCharacter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2221ab6a9506c17479ac4df5b4acb06e 3 | timeCreated: 1492614734 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/Instructions.txt: -------------------------------------------------------------------------------- 1 | Overview 2 | ----------------------------------------------------------------------------------------------------- 3 | This example demonstrates how to use the joystick control to allow an audience member to 4 | control a character in your game. 5 | 6 | Instructions 7 | ----------------------------------------------------------------------------------------------------- 8 | 1. Open the Mixer menu and select "Interactive Studio". 9 | 2. Create a new project. 10 | 3. Go to the Build tab. 11 | 4. Create a new joystick control. Name it "move". 12 | 5. Place the joystick on the grid. 13 | 6. Create a new button control. Name it "spin". 14 | 7. Place the button on the grid. 15 | 8. Click the save button. 16 | 9. Go to the Code tab. 17 | 10. Click the "OAuth Clients" link. 18 | 11. On the OAuth Clients page, click the "Create new client" button. 19 | 12. Create a new OAuth client with the following information: 20 | * Name: "Test" 21 | * Website: "http://mixer.com" 22 | * Hosts: "*.mixer.com" 23 | 13. Click "Create Client" to save. 24 | 14. In the table, copy the value in the ID column. 25 | 15. Go to Unity. 26 | 16. Open the Mixer menu and select "Open Mixer Editor". 27 | 17. Paste the ID from step 7 into the "OAuth Client ID" field. 28 | 18. Paste the code from step 8 into the "ProjectVersionID" field in the editor. 29 | 19. Click the "Save project information" button. 30 | 20. Press play in Unity editor. 31 | 21. A code will be displayed. Go to http://mixer.com/go and enter the code. 32 | 22. Click yes on the permissions dialog. 33 | 23. Go to your Mixer channel: http://mixer.com/. 34 | 24. On your channel page, you will see a joystick. 35 | 25. Move the joystick to control the capsule in Unity. -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/Instructions.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3718dfdd6ff4b74bbc98423b8b2e122 3 | timeCreated: 1493386942 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/ViewerControlsACharacter.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/ViewerControlsACharacter.unity -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Examples/Viewer controls a character/ViewerControlsACharacter.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96a9368452dfae74ca119ccde90755e4 3 | timeCreated: 1492614626 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5c5a9c5bcb8a21478d608a303bff9b1 3 | folderAsset: yes 4 | timeCreated: 1492389996 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/InteractivityManager.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/InteractivityManager.prefab -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/InteractivityManager.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3d82ac56c3ea1f459a674ccc9c2622f 3 | timeCreated: 1490883315 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/Media.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 555d16420d130f347a7f7ac0c9cd7d82 3 | folderAsset: yes 4 | timeCreated: 1492455025 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/Media/mixer-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/Media/mixer-logo.png -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Prefabs/Media/mixer-logo.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21a70de7af80c2040a6bdad216e6f332 3 | timeCreated: 1495137060 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 1 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 1 46 | spriteTessellationDetail: -1 47 | textureType: 8 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 1 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | - buildTarget: XboxOne 70 | maxTextureSize: 2048 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | - buildTarget: Windows Store Apps 78 | maxTextureSize: 2048 79 | textureFormat: -1 80 | textureCompression: 1 81 | compressionQuality: 50 82 | crunchedCompression: 0 83 | allowsAlphaSplitting: 0 84 | overridden: 0 85 | spriteSheet: 86 | serializedVersion: 2 87 | sprites: [] 88 | outline: [] 89 | spritePackingTag: 90 | userData: 91 | assetBundleName: 92 | assetBundleVariant: 93 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Readme.txt: -------------------------------------------------------------------------------- 1 | Thank you for downloading the Mixer Interactive SDK. The SDK includes: 2 | * Examples - Example scenes and instructions that demonstrate the functionality in this SDK. 3 | * Prefabs - The InteractivityManager prefab which you can use to talk to the Mixer Service 4 | * Source - The DLLs, helper scripts and editor extensions for the SDK 5 | 6 | There are instructions included in each of the example scenes. 7 | 8 | You can learn more about the Mixer SDK at: https://dev.mixer.com/ 9 | 10 | For bugs or other issues, you can find support at the official GIT repo: https://github.com/mixer/interactive-unity-plugin/issues 11 | 12 | For feedback, you can visit our feedback site: https://feedback.mixer.com/forums/382521-lazers-and-shiny-things 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Readme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7473b500cb264954d99bd2bdca4827c7 3 | timeCreated: 1493672028 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dc1bc5653e91154795dfed10567a970 3 | folderAsset: yes 4 | timeCreated: 1492389964 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb9fe180b5d3022448c52e6faf356527 3 | folderAsset: yes 4 | timeCreated: 1492523328 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2b147ba1adbced4cab58409cf839a6c 3 | folderAsset: yes 4 | timeCreated: 1497975412 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b63500b12254c24399422e9f10dea5d 3 | timeCreated: 1508706009 4 | licenseType: Store 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | '': Any 15 | second: 16 | enabled: 0 17 | settings: 18 | Exclude Editor: 1 19 | Exclude Linux: 1 20 | Exclude Linux64: 1 21 | Exclude LinuxUniversal: 1 22 | Exclude OSXUniversal: 1 23 | Exclude Win: 1 24 | Exclude Win64: 1 25 | Exclude WindowsStoreApps: 1 26 | Exclude XboxOne: 0 27 | - first: 28 | Any: 29 | second: 30 | enabled: 0 31 | settings: {} 32 | - first: 33 | Editor: Editor 34 | second: 35 | enabled: 0 36 | settings: 37 | CPU: AnyCPU 38 | DefaultValueInitialized: true 39 | OS: AnyOS 40 | - first: 41 | Facebook: Win 42 | second: 43 | enabled: 0 44 | settings: 45 | CPU: AnyCPU 46 | - first: 47 | Facebook: Win64 48 | second: 49 | enabled: 0 50 | settings: 51 | CPU: AnyCPU 52 | - first: 53 | Standalone: Linux 54 | second: 55 | enabled: 0 56 | settings: 57 | CPU: x86 58 | - first: 59 | Standalone: Linux64 60 | second: 61 | enabled: 0 62 | settings: 63 | CPU: x86_64 64 | - first: 65 | Standalone: LinuxUniversal 66 | second: 67 | enabled: 0 68 | settings: 69 | CPU: None 70 | - first: 71 | Standalone: OSXUniversal 72 | second: 73 | enabled: 0 74 | settings: 75 | CPU: AnyCPU 76 | - first: 77 | Standalone: Win 78 | second: 79 | enabled: 0 80 | settings: 81 | CPU: AnyCPU 82 | - first: 83 | Standalone: Win64 84 | second: 85 | enabled: 0 86 | settings: 87 | CPU: AnyCPU 88 | - first: 89 | Windows Store Apps: WindowsStoreApps 90 | second: 91 | enabled: 0 92 | settings: 93 | CPU: X86 94 | DontProcess: False 95 | PlaceholderPath: 96 | SDK: AnySDK 97 | ScriptingBackend: AnyScriptingBackend 98 | - first: 99 | XboxOne: XboxOne 100 | second: 101 | enabled: 1 102 | settings: {} 103 | userData: 104 | assetBundleName: 105 | assetBundleVariant: 106 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.exp -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.exp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 039c4b02c4906bb46a4bec1834d3daba 3 | timeCreated: 1508706009 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.lib -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.lib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6cb8fa19672fa24293fa5e8efb5ec85 3 | timeCreated: 1514499965 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.pdb -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce69a07bf4ca13c4785e5150c3d96d6e 3 | timeCreated: 1508706009 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.pri -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/MixerEraNativePlugin.pri.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf3c64215c938b945a3fd1e039ac912d 3 | timeCreated: 1508706009 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/simplewebsocket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/simplewebsocket.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/simplewebsocket.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d99778ac42ba4f47b1bb46e83c6edcc 3 | timeCreated: 1517971144 4 | licenseType: Free 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | '': Any 15 | second: 16 | enabled: 0 17 | settings: 18 | Exclude Android: 1 19 | Exclude Editor: 1 20 | Exclude Linux: 1 21 | Exclude Linux64: 1 22 | Exclude LinuxUniversal: 1 23 | Exclude OSXUniversal: 1 24 | Exclude Win: 1 25 | Exclude Win64: 1 26 | Exclude WindowsStoreApps: 1 27 | Exclude XboxOne: 0 28 | - first: 29 | Android: Android 30 | second: 31 | enabled: 0 32 | settings: 33 | CPU: ARMv7 34 | - first: 35 | Any: 36 | second: 37 | enabled: 0 38 | settings: {} 39 | - first: 40 | Editor: Editor 41 | second: 42 | enabled: 0 43 | settings: 44 | CPU: AnyCPU 45 | DefaultValueInitialized: true 46 | OS: AnyOS 47 | - first: 48 | Facebook: Win 49 | second: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | - first: 54 | Facebook: Win64 55 | second: 56 | enabled: 0 57 | settings: 58 | CPU: AnyCPU 59 | - first: 60 | Standalone: Linux 61 | second: 62 | enabled: 0 63 | settings: 64 | CPU: x86 65 | - first: 66 | Standalone: Linux64 67 | second: 68 | enabled: 0 69 | settings: 70 | CPU: x86_64 71 | - first: 72 | Standalone: LinuxUniversal 73 | second: 74 | enabled: 0 75 | settings: 76 | CPU: None 77 | - first: 78 | Standalone: OSXUniversal 79 | second: 80 | enabled: 0 81 | settings: 82 | CPU: AnyCPU 83 | - first: 84 | Standalone: Win 85 | second: 86 | enabled: 0 87 | settings: 88 | CPU: None 89 | - first: 90 | Standalone: Win64 91 | second: 92 | enabled: 0 93 | settings: 94 | CPU: AnyCPU 95 | - first: 96 | Windows Store Apps: WindowsStoreApps 97 | second: 98 | enabled: 0 99 | settings: 100 | CPU: X64 101 | DontProcess: False 102 | PlaceholderPath: 103 | SDK: UWP 104 | ScriptingBackend: AnyScriptingBackend 105 | - first: 106 | XboxOne: XboxOne 107 | second: 108 | enabled: 1 109 | settings: {} 110 | userData: 111 | assetBundleName: 112 | assetBundleVariant: 113 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/simplewebsocket.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/simplewebsocket.pdb -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/ERA/simplewebsocket.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61625bc3455595d45b876e9383d1cf21 3 | timeCreated: 1518101101 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9304a27bc517a96409b9cdca594272d1 3 | folderAsset: yes 4 | timeCreated: 1492702163 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/Newtonsoft.Json.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65e7ea7e145ece7408873818b28511d5 3 | timeCreated: 1492703228 4 | licenseType: Store 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | '': Any 15 | second: 16 | enabled: 0 17 | settings: 18 | Exclude Android: 1 19 | Exclude Editor: 1 20 | Exclude Linux: 1 21 | Exclude Linux64: 1 22 | Exclude LinuxUniversal: 1 23 | Exclude OSXIntel: 0 24 | Exclude OSXIntel64: 0 25 | Exclude OSXUniversal: 1 26 | Exclude Win: 1 27 | Exclude Win64: 1 28 | Exclude WindowsStoreApps: 0 29 | Exclude XboxOne: 1 30 | - first: 31 | '': Editor 32 | second: 33 | enabled: 0 34 | settings: 35 | CPU: AnyCPU 36 | OS: AnyOS 37 | - first: 38 | Android: Android 39 | second: 40 | enabled: 0 41 | settings: 42 | CPU: ARMv7 43 | - first: 44 | Any: 45 | second: 46 | enabled: 0 47 | settings: 48 | Exclude Editor: 1 49 | Exclude Linux: 1 50 | Exclude Linux64: 1 51 | Exclude LinuxUniversal: 1 52 | Exclude OSXIntel: 1 53 | Exclude OSXIntel64: 1 54 | Exclude OSXUniversal: 1 55 | Exclude Win: 1 56 | Exclude Win64: 1 57 | Exclude WindowsStoreApps: 0 58 | Exclude XboxOne: 1 59 | - first: 60 | Editor: Editor 61 | second: 62 | enabled: 0 63 | settings: 64 | CPU: AnyCPU 65 | DefaultValueInitialized: true 66 | OS: AnyOS 67 | - first: 68 | Facebook: Win 69 | second: 70 | enabled: 0 71 | settings: 72 | CPU: AnyCPU 73 | - first: 74 | Facebook: Win64 75 | second: 76 | enabled: 0 77 | settings: 78 | CPU: AnyCPU 79 | - first: 80 | Standalone: Linux 81 | second: 82 | enabled: 0 83 | settings: 84 | CPU: x86 85 | - first: 86 | Standalone: Linux64 87 | second: 88 | enabled: 0 89 | settings: 90 | CPU: x86_64 91 | - first: 92 | Standalone: LinuxUniversal 93 | second: 94 | enabled: 0 95 | settings: 96 | CPU: None 97 | - first: 98 | Standalone: OSXIntel 99 | second: 100 | enabled: 1 101 | settings: 102 | CPU: AnyCPU 103 | - first: 104 | Standalone: OSXIntel64 105 | second: 106 | enabled: 1 107 | settings: 108 | CPU: AnyCPU 109 | - first: 110 | Standalone: OSXUniversal 111 | second: 112 | enabled: 0 113 | settings: 114 | CPU: AnyCPU 115 | - first: 116 | Standalone: Win 117 | second: 118 | enabled: 0 119 | settings: 120 | CPU: AnyCPU 121 | - first: 122 | Standalone: Win64 123 | second: 124 | enabled: 0 125 | settings: 126 | CPU: AnyCPU 127 | - first: 128 | Windows Store Apps: WindowsStoreApps 129 | second: 130 | enabled: 1 131 | settings: 132 | CPU: AnyCPU 133 | DontProcess: False 134 | PlaceholderPath: 135 | SDK: UWP 136 | ScriptingBackend: AnyScriptingBackend 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/Newtonsoft.Json.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3b557388a373cb4688248e77606a270 3 | timeCreated: 1492703232 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de1588378181ff641a6da7d0c8315350 3 | folderAsset: yes 4 | timeCreated: 1518484031 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64/simplewebsocket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64/simplewebsocket.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64/simplewebsocket.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3f2e625ffed27544beff58e7b02de1b 3 | timeCreated: 1518479047 4 | licenseType: Free 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | '': Any 15 | second: 16 | enabled: 0 17 | settings: 18 | Exclude Editor: 1 19 | Exclude Linux: 1 20 | Exclude Linux64: 1 21 | Exclude LinuxUniversal: 1 22 | Exclude OSXUniversal: 1 23 | Exclude Win: 1 24 | Exclude Win64: 1 25 | Exclude WindowsStoreApps: 1 26 | Exclude XboxOne: 1 27 | - first: 28 | Any: 29 | second: 30 | enabled: 0 31 | settings: {} 32 | - first: 33 | Editor: Editor 34 | second: 35 | enabled: 0 36 | settings: 37 | CPU: AnyCPU 38 | DefaultValueInitialized: true 39 | OS: AnyOS 40 | - first: 41 | Facebook: Win 42 | second: 43 | enabled: 0 44 | settings: 45 | CPU: AnyCPU 46 | - first: 47 | Facebook: Win64 48 | second: 49 | enabled: 0 50 | settings: 51 | CPU: AnyCPU 52 | - first: 53 | Standalone: Linux 54 | second: 55 | enabled: 0 56 | settings: 57 | CPU: x86 58 | - first: 59 | Standalone: Linux64 60 | second: 61 | enabled: 0 62 | settings: 63 | CPU: x86_64 64 | - first: 65 | Standalone: OSXUniversal 66 | second: 67 | enabled: 0 68 | settings: 69 | CPU: AnyCPU 70 | - first: 71 | Standalone: Win 72 | second: 73 | enabled: 0 74 | settings: 75 | CPU: AnyCPU 76 | - first: 77 | Standalone: Win64 78 | second: 79 | enabled: 0 80 | settings: 81 | CPU: AnyCPU 82 | - first: 83 | Windows Store Apps: WindowsStoreApps 84 | second: 85 | enabled: 0 86 | settings: 87 | CPU: X64 88 | DontProcess: False 89 | PlaceholderPath: 90 | SDK: AnySDK 91 | ScriptingBackend: AnyScriptingBackend 92 | userData: 93 | assetBundleName: 94 | assetBundleVariant: 95 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64/simplewebsocket.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64/simplewebsocket.pdb -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x64/simplewebsocket.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bed28130d6f0aaa4bb67f8c864ca31f8 3 | timeCreated: 1518479047 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab391ea5129bfaf45930f611223027b8 3 | folderAsset: yes 4 | timeCreated: 1518484031 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86/simplewebsocket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86/simplewebsocket.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86/simplewebsocket.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82c9c5787a1055d45a8fd6fca6278f42 3 | timeCreated: 1518479047 4 | licenseType: Free 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | '': Any 15 | second: 16 | enabled: 0 17 | settings: 18 | Exclude Editor: 1 19 | Exclude Linux: 1 20 | Exclude Linux64: 1 21 | Exclude LinuxUniversal: 1 22 | Exclude OSXUniversal: 1 23 | Exclude Win: 1 24 | Exclude Win64: 1 25 | Exclude WindowsStoreApps: 1 26 | Exclude XboxOne: 1 27 | - first: 28 | Any: 29 | second: 30 | enabled: 0 31 | settings: {} 32 | - first: 33 | Editor: Editor 34 | second: 35 | enabled: 0 36 | settings: 37 | CPU: AnyCPU 38 | DefaultValueInitialized: true 39 | OS: AnyOS 40 | - first: 41 | Facebook: Win 42 | second: 43 | enabled: 0 44 | settings: 45 | CPU: AnyCPU 46 | - first: 47 | Facebook: Win64 48 | second: 49 | enabled: 0 50 | settings: 51 | CPU: AnyCPU 52 | - first: 53 | Standalone: Linux 54 | second: 55 | enabled: 0 56 | settings: 57 | CPU: x86 58 | - first: 59 | Standalone: Linux64 60 | second: 61 | enabled: 0 62 | settings: 63 | CPU: x86_64 64 | - first: 65 | Standalone: OSXUniversal 66 | second: 67 | enabled: 0 68 | settings: 69 | CPU: AnyCPU 70 | - first: 71 | Standalone: Win 72 | second: 73 | enabled: 0 74 | settings: 75 | CPU: AnyCPU 76 | - first: 77 | Standalone: Win64 78 | second: 79 | enabled: 0 80 | settings: 81 | CPU: AnyCPU 82 | - first: 83 | Windows Store Apps: WindowsStoreApps 84 | second: 85 | enabled: 0 86 | settings: 87 | CPU: X86 88 | DontProcess: False 89 | PlaceholderPath: 90 | SDK: AnySDK 91 | ScriptingBackend: AnyScriptingBackend 92 | userData: 93 | assetBundleName: 94 | assetBundleVariant: 95 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86/simplewebsocket.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86/simplewebsocket.pdb -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/UWP/x86/simplewebsocket.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ec64bfb84c858e4e9b68cf310eb5a55 3 | timeCreated: 1518479047 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Websocket.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7bb45339b85c33419f17e906069ba83 3 | timeCreated: 1517342276 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29adf7dfcba39e8428f35b193d4846c1 3 | folderAsset: yes 4 | timeCreated: 1492702163 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/Newtonsoft.Json.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f138b515924a7a141bb5b893194c427a 3 | timeCreated: 1492389967 4 | licenseType: Store 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Android: 13 | enabled: 0 14 | settings: 15 | CPU: ARMv7 16 | Any: 17 | enabled: 0 18 | settings: 19 | Exclude Android: 1 20 | Exclude Editor: 0 21 | Exclude Linux: 0 22 | Exclude Linux64: 0 23 | Exclude LinuxUniversal: 0 24 | Exclude OSXIntel: 0 25 | Exclude OSXIntel64: 0 26 | Exclude OSXUniversal: 0 27 | Exclude Win: 0 28 | Exclude Win64: 0 29 | Exclude WindowsStoreApps: 1 30 | Exclude XboxOne: 0 31 | Exclude iOS: 1 32 | Editor: 33 | enabled: 1 34 | settings: 35 | CPU: AnyCPU 36 | DefaultValueInitialized: true 37 | OS: AnyOS 38 | Linux: 39 | enabled: 1 40 | settings: 41 | CPU: x86 42 | Linux64: 43 | enabled: 1 44 | settings: 45 | CPU: x86_64 46 | LinuxUniversal: 47 | enabled: 1 48 | settings: 49 | CPU: AnyCPU 50 | OSXIntel: 51 | enabled: 1 52 | settings: 53 | CPU: AnyCPU 54 | OSXIntel64: 55 | enabled: 1 56 | settings: 57 | CPU: AnyCPU 58 | OSXUniversal: 59 | enabled: 1 60 | settings: 61 | CPU: AnyCPU 62 | Win: 63 | enabled: 1 64 | settings: 65 | CPU: AnyCPU 66 | Win64: 67 | enabled: 1 68 | settings: 69 | CPU: AnyCPU 70 | WindowsStoreApps: 71 | enabled: 0 72 | settings: 73 | CPU: AnyCPU 74 | DontProcess: False 75 | PlaceholderPath: 76 | SDK: AnySDK 77 | ScriptingBackend: AnyScriptingBackend 78 | XboxOne: 79 | enabled: 1 80 | settings: {} 81 | iOS: 82 | enabled: 0 83 | settings: 84 | CompileFlags: 85 | FrameworkDependencies: 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/websocket-sharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/websocket-sharp.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/websocket-sharp.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e7b2c95ff589084689f7a8d677a1b8d 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | isPreloaded: 0 9 | isOverridable: 0 10 | platformData: 11 | - first: 12 | '': Any 13 | second: 14 | enabled: 0 15 | settings: 16 | Exclude Editor: 0 17 | Exclude Linux: 1 18 | Exclude Linux64: 1 19 | Exclude LinuxUniversal: 1 20 | Exclude OSXUniversal: 1 21 | Exclude Win: 0 22 | Exclude Win64: 0 23 | Exclude WindowsStoreApps: 1 24 | Exclude XboxOne: 1 25 | Exclude iOS: 0 26 | - first: 27 | '': OSXIntel 28 | second: 29 | enabled: 1 30 | settings: 31 | CPU: AnyCPU 32 | - first: 33 | '': OSXIntel64 34 | second: 35 | enabled: 1 36 | settings: 37 | CPU: AnyCPU 38 | - first: 39 | Any: 40 | second: 41 | enabled: 1 42 | settings: 43 | Exclude Editor: 0 44 | Exclude Linux: 0 45 | Exclude Linux64: 0 46 | Exclude LinuxUniversal: 0 47 | Exclude OSXIntel: 0 48 | Exclude OSXIntel64: 0 49 | Exclude OSXUniversal: 0 50 | Exclude Win: 0 51 | Exclude Win64: 0 52 | Exclude WindowsStoreApps: 1 53 | Exclude XboxOne: 1 54 | - first: 55 | Editor: Editor 56 | second: 57 | enabled: 1 58 | settings: 59 | CPU: AnyCPU 60 | DefaultValueInitialized: true 61 | OS: AnyOS 62 | - first: 63 | Facebook: Win 64 | second: 65 | enabled: 1 66 | settings: 67 | CPU: AnyCPU 68 | - first: 69 | Facebook: Win64 70 | second: 71 | enabled: 1 72 | settings: 73 | CPU: AnyCPU 74 | - first: 75 | Standalone: Linux 76 | second: 77 | enabled: 0 78 | settings: 79 | CPU: None 80 | - first: 81 | Standalone: Linux64 82 | second: 83 | enabled: 0 84 | settings: 85 | CPU: None 86 | - first: 87 | Standalone: LinuxUniversal 88 | second: 89 | enabled: 0 90 | settings: 91 | CPU: None 92 | - first: 93 | Standalone: OSXUniversal 94 | second: 95 | enabled: 0 96 | settings: 97 | CPU: None 98 | - first: 99 | Standalone: Win 100 | second: 101 | enabled: 1 102 | settings: 103 | CPU: AnyCPU 104 | - first: 105 | Standalone: Win64 106 | second: 107 | enabled: 1 108 | settings: 109 | CPU: AnyCPU 110 | - first: 111 | Windows Store Apps: WindowsStoreApps 112 | second: 113 | enabled: 0 114 | settings: 115 | CPU: AnyCPU 116 | DontProcess: False 117 | PlaceholderPath: 118 | SDK: AnySDK 119 | ScriptingBackend: AnyScriptingBackend 120 | - first: 121 | iPhone: iOS 122 | second: 123 | enabled: 1 124 | settings: 125 | AddToEmbeddedBinaries: false 126 | CompileFlags: 127 | FrameworkDependencies: 128 | userData: 129 | assetBundleName: 130 | assetBundleVariant: 131 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dff3427ac7403c643a2dd538f011be21 3 | folderAsset: yes 4 | timeCreated: 1517620446 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64/simplewebsocket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64/simplewebsocket.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64/simplewebsocket.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9656b1bab1b2a0645b72bd2f6a547b13 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | isPreloaded: 0 9 | isOverridable: 0 10 | platformData: 11 | - first: 12 | '': Any 13 | second: 14 | enabled: 0 15 | settings: 16 | Exclude Android: 1 17 | Exclude Editor: 0 18 | Exclude Linux: 1 19 | Exclude Linux64: 1 20 | Exclude LinuxUniversal: 1 21 | Exclude OSXUniversal: 1 22 | Exclude Win: 1 23 | Exclude Win64: 1 24 | Exclude WindowsStoreApps: 1 25 | Exclude XboxOne: 1 26 | Exclude iOS: 1 27 | - first: 28 | '': OSXIntel 29 | second: 30 | enabled: 0 31 | settings: 32 | CPU: None 33 | - first: 34 | '': OSXIntel64 35 | second: 36 | enabled: 1 37 | settings: 38 | CPU: AnyCPU 39 | - first: 40 | Android: Android 41 | second: 42 | enabled: 0 43 | settings: 44 | CPU: ARMv7 45 | - first: 46 | Any: 47 | second: 48 | enabled: 0 49 | settings: {} 50 | - first: 51 | Editor: Editor 52 | second: 53 | enabled: 1 54 | settings: 55 | CPU: x86_64 56 | DefaultValueInitialized: true 57 | OS: AnyOS 58 | - first: 59 | Facebook: Win 60 | second: 61 | enabled: 0 62 | settings: 63 | CPU: None 64 | - first: 65 | Facebook: Win64 66 | second: 67 | enabled: 1 68 | settings: 69 | CPU: AnyCPU 70 | - first: 71 | Standalone: Linux 72 | second: 73 | enabled: 0 74 | settings: 75 | CPU: None 76 | - first: 77 | Standalone: Linux64 78 | second: 79 | enabled: 0 80 | settings: 81 | CPU: x86_64 82 | - first: 83 | Standalone: LinuxUniversal 84 | second: 85 | enabled: 0 86 | settings: 87 | CPU: None 88 | - first: 89 | Standalone: OSXUniversal 90 | second: 91 | enabled: 0 92 | settings: 93 | CPU: x86_64 94 | - first: 95 | Standalone: Win 96 | second: 97 | enabled: 0 98 | settings: 99 | CPU: None 100 | - first: 101 | Standalone: Win64 102 | second: 103 | enabled: 0 104 | settings: 105 | CPU: AnyCPU 106 | - first: 107 | Windows Store Apps: WindowsStoreApps 108 | second: 109 | enabled: 0 110 | settings: 111 | CPU: X86 112 | DontProcess: False 113 | PlaceholderPath: 114 | SDK: AnySDK 115 | ScriptingBackend: AnyScriptingBackend 116 | - first: 117 | iPhone: iOS 118 | second: 119 | enabled: 0 120 | settings: 121 | AddToEmbeddedBinaries: false 122 | CompileFlags: 123 | FrameworkDependencies: 124 | userData: 125 | assetBundleName: 126 | assetBundleVariant: 127 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64/simplewebsocket.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64/simplewebsocket.pdb -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x64/simplewebsocket.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c19f5bf744373c4ca6ecd7cd9941205 3 | timeCreated: 1519163993 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d6d73eb6c824454798fbe3f4b0dc8df 3 | folderAsset: yes 4 | timeCreated: 1517620445 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86/simplewebsocket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86/simplewebsocket.dll -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86/simplewebsocket.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc34b2197cb8b884caf086c2c209037b 3 | timeCreated: 1517603603 4 | licenseType: Free 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | '': Any 15 | second: 16 | enabled: 0 17 | settings: 18 | Exclude Android: 1 19 | Exclude Editor: 0 20 | Exclude Linux: 1 21 | Exclude Linux64: 1 22 | Exclude LinuxUniversal: 1 23 | Exclude OSXUniversal: 1 24 | Exclude Win: 1 25 | Exclude Win64: 1 26 | Exclude WindowsStoreApps: 1 27 | Exclude XboxOne: 1 28 | - first: 29 | '': OSXIntel 30 | second: 31 | enabled: 1 32 | settings: 33 | CPU: AnyCPU 34 | - first: 35 | '': OSXIntel64 36 | second: 37 | enabled: 0 38 | settings: 39 | CPU: None 40 | - first: 41 | Android: Android 42 | second: 43 | enabled: 0 44 | settings: 45 | CPU: x86 46 | - first: 47 | Any: 48 | second: 49 | enabled: 0 50 | settings: {} 51 | - first: 52 | Editor: Editor 53 | second: 54 | enabled: 1 55 | settings: 56 | CPU: x86 57 | DefaultValueInitialized: true 58 | OS: Windows 59 | - first: 60 | Facebook: Win 61 | second: 62 | enabled: 1 63 | settings: 64 | CPU: AnyCPU 65 | - first: 66 | Facebook: Win64 67 | second: 68 | enabled: 0 69 | settings: 70 | CPU: None 71 | - first: 72 | Standalone: Linux 73 | second: 74 | enabled: 0 75 | settings: 76 | CPU: x86 77 | - first: 78 | Standalone: Linux64 79 | second: 80 | enabled: 0 81 | settings: 82 | CPU: None 83 | - first: 84 | Standalone: LinuxUniversal 85 | second: 86 | enabled: 0 87 | settings: 88 | CPU: None 89 | - first: 90 | Standalone: OSXUniversal 91 | second: 92 | enabled: 0 93 | settings: 94 | CPU: x86 95 | - first: 96 | Standalone: Win 97 | second: 98 | enabled: 0 99 | settings: 100 | CPU: AnyCPU 101 | - first: 102 | Standalone: Win64 103 | second: 104 | enabled: 0 105 | settings: 106 | CPU: None 107 | - first: 108 | Windows Store Apps: WindowsStoreApps 109 | second: 110 | enabled: 0 111 | settings: 112 | CPU: AnyCPU 113 | DontProcess: False 114 | PlaceholderPath: 115 | SDK: AnySDK 116 | ScriptingBackend: AnyScriptingBackend 117 | userData: 118 | assetBundleName: 119 | assetBundleVariant: 120 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86/simplewebsocket.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86/simplewebsocket.pdb -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/DLLs/Win32/x86/simplewebsocket.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 506c8a13699496b47b90b7a207a0de2c 3 | timeCreated: 1518101101 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7136d568953c21540ba0f9b2ffa93987 3 | folderAsset: yes 4 | timeCreated: 1492390045 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Editor/InteractiveManagerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f025e8076ab9b347aec89945179a505 3 | timeCreated: 1493236613 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Editor/InteractivePlugin.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using UnityEditor; 26 | using UnityEngine; 27 | 28 | [InitializeOnLoad] 29 | public static class MixerInteractivePlugin 30 | { 31 | static MixerInteractivePlugin() 32 | { 33 | } 34 | 35 | [MenuItem("Mixer/Interactive Studio")] 36 | private static void InteractiveStudio() 37 | { 38 | Application.OpenURL("https://mixer.com/lab/interactive"); 39 | } 40 | 41 | [MenuItem("Mixer/Documentation")] 42 | private static void ShowDocs() 43 | { 44 | Application.OpenURL("https://github.com/mixer/interactive-unity-plugin/wiki"); 45 | } 46 | 47 | [MenuItem("Mixer/Open Mixer Editor")] 48 | private static void ShowMixerSettings() 49 | { 50 | InteractiveSettingsWindow window = EditorWindow.GetWindow(); 51 | window.ShowTab(); 52 | } 53 | 54 | [MenuItem("Mixer/File a bug")] 55 | private static void FileIssues() 56 | { 57 | Application.OpenURL("https://github.com/WatchBeam/interactive-unity-plugin/issues/new"); 58 | } 59 | 60 | [MenuItem("Mixer/Feedback")] 61 | private static void Feedback() 62 | { 63 | Application.OpenURL("https://feedback.mixer.com"); 64 | } 65 | } -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Editor/InteractivePlugin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db6bf370ebf18af4ab1ad35c7004b0bd 3 | timeCreated: 1491011219 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Editor/InteractiveSettingsWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66ad014f33fdde849903cfe4a2f6ff5f 3 | timeCreated: 1491011219 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eddfa21e761bd0a4695d4985eba744fc 3 | folderAsset: yes 4 | timeCreated: 1492523343 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveButtonControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aceabf2110952bf4a9773da5b9298098 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveButtonEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System.Collections.Generic; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Arguments for a button event. 31 | /// 32 | public class InteractiveButtonEventArgs : InteractiveEventArgs 33 | { 34 | /// 35 | /// Unique string identifier for this control 36 | /// 37 | public string ControlID 38 | { 39 | get; 40 | private set; 41 | } 42 | 43 | /// 44 | /// The participant who triggered this event. 45 | /// 46 | public InteractiveParticipant Participant 47 | { 48 | get; 49 | private set; 50 | } 51 | 52 | /// 53 | /// Boolean to indicate if the button is pressed down or not. 54 | /// Returns TRUE if button is pressed down. 55 | /// 63 | /// Unique string identifier for the spark transaction associated with this control event. 64 | /// 65 | public string TransactionID 66 | { 67 | get; 68 | private set; 69 | } 70 | 71 | /// 72 | /// Spark cost assigned to the button control. 73 | /// 74 | public uint Cost 75 | { 76 | get; 77 | private set; 78 | } 79 | 80 | /// 81 | /// Captures a given interactive event transaction, charging the sparks to the appropriate Participant. 82 | /// 83 | public void CaptureTransaction() 84 | { 85 | InteractivityManager.SingletonInstance.CaptureTransaction(TransactionID); 86 | } 87 | 88 | internal InteractiveButtonEventArgs( 89 | InteractiveEventType type, 90 | string id, 91 | InteractiveParticipant participant, 92 | bool isPressed, 93 | uint cost, 94 | string transactionID) : base(type) 95 | { 96 | ControlID = id; 97 | Participant = participant; 98 | Cost = cost; 99 | IsPressed = isPressed; 100 | TransactionID = transactionID; 101 | } 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveButtonEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24aa55397b806cd4db89da152bfc04e4 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveControl.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System.Collections.Generic; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// Base class for Interactivity controls. All controls are created and 30 | /// configured using Interactive Studio. 31 | /// 32 | #if !WINDOWS_UWP 33 | [System.Serializable] 34 | #endif 35 | public class InteractiveControl 36 | { 37 | /// 38 | /// Unique string identifier for this control 39 | /// 40 | public string ControlID 41 | { 42 | get; 43 | private set; 44 | } 45 | 46 | /// 47 | /// Indicates if control is enabled or disabled. 48 | /// 49 | public bool Disabled 50 | { 51 | get; 52 | private set; 53 | } 54 | 55 | /// 56 | /// The string of text that displays when a stream viewer (InteractiveParticipant) hovers over the control. 57 | /// 58 | public string HelpText 59 | { 60 | get; 61 | private set; 62 | } 63 | 64 | /// 65 | /// Returns a read only dictionary of name, value pairs for the control's metadata. 66 | /// 67 | public IDictionary MetaProperties 68 | { 69 | get; 70 | private set; 71 | } 72 | 73 | internal string _eTag; 74 | internal string _sceneID; 75 | internal string _kind; 76 | internal InteractiveEventType _type; 77 | internal int participantID; 78 | 79 | /// 80 | /// Allow game client to disable a control. 81 | /// 82 | /// If "true", disables this control. If "false", enables this control 83 | public void SetDisabled(bool disabled) 84 | { 85 | Disabled = disabled; 86 | InteractivityManager.SingletonInstance._SendSetButtonControlProperties( 87 | ControlID, 88 | InteractivityManager._WS_MESSAGE_VALUE_DISABLED, 89 | disabled, 90 | 0, 91 | string.Empty, 92 | 0); 93 | } 94 | 95 | /// 96 | /// This function allows you to set any property on a control. 97 | /// 98 | /// The name of the control property. 99 | /// The value of the control property. 100 | public void SetProperty(InteractiveControlProperty name, bool value) 101 | { 102 | SetPropertyImpl( 103 | InteractivityManager.SingletonInstance._InteractiveControlPropertyToString(name), 104 | value 105 | ); 106 | } 107 | public void SetProperty(InteractiveControlProperty name, double value) 108 | { 109 | SetPropertyImpl( 110 | InteractivityManager.SingletonInstance._InteractiveControlPropertyToString(name), 111 | value 112 | ); 113 | } 114 | public void SetProperty(InteractiveControlProperty name, string value) 115 | { 116 | SetPropertyImpl( 117 | InteractivityManager.SingletonInstance._InteractiveControlPropertyToString(name), 118 | value 119 | ); 120 | } 121 | public void SetProperty(InteractiveControlProperty name, object value) 122 | { 123 | SetPropertyImpl( 124 | InteractivityManager.SingletonInstance._InteractiveControlPropertyToString(name), 125 | value 126 | ); 127 | } 128 | 129 | /// 130 | /// This function allows you to set any property on a control. 131 | /// 132 | /// The name of the control property. 133 | /// The value of the control property. 134 | public void SetProperty(string name, bool value) 135 | { 136 | SetPropertyImpl(name, value); 137 | } 138 | public void SetProperty(string name, double value) 139 | { 140 | SetPropertyImpl(name, value); 141 | } 142 | public void SetProperty(string name, string value) 143 | { 144 | SetPropertyImpl(name, value); 145 | } 146 | public void SetProperty(string name, object value) 147 | { 148 | SetPropertyImpl(name, value); 149 | } 150 | 151 | private void SetPropertyImpl(string name, bool value) 152 | { 153 | InteractivityManager.SingletonInstance._QueuePropertyUpdate(_sceneID, ControlID, name, value); 154 | } 155 | private void SetPropertyImpl(string name, double value) 156 | { 157 | InteractivityManager.SingletonInstance._QueuePropertyUpdate(_sceneID, ControlID, name, value); 158 | } 159 | private void SetPropertyImpl(string name, string value) 160 | { 161 | InteractivityManager.SingletonInstance._QueuePropertyUpdate(_sceneID, ControlID, name, value); 162 | } 163 | private void SetPropertyImpl(string name, object value) 164 | { 165 | InteractivityManager.SingletonInstance._QueuePropertyUpdate(_sceneID, ControlID, name, value); 166 | } 167 | 168 | internal InteractiveControl(string controlID, string kind, InteractiveEventType type, bool disabled, string helpText, string eTag, string sceneID, Dictionary metaProperties) 169 | { 170 | ControlID = controlID; 171 | _kind = kind; 172 | _type = type; 173 | Disabled = disabled; 174 | HelpText = helpText; 175 | _eTag = eTag; 176 | _sceneID = sceneID; 177 | participantID = -1; 178 | MetaProperties = metaProperties; 179 | } 180 | } 181 | } 182 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5faff286656f1b4a919a050b60e767e 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveControlProperty.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// The known values for control properties. 31 | /// 32 | public enum InteractiveControlProperty 33 | { 34 | /// 35 | /// The display test of the control. 36 | /// 37 | Text, 38 | 39 | /// 40 | /// The background color of the control. 41 | /// 42 | BackgroundColor, 43 | 44 | /// 45 | /// The background image of the control. 46 | /// 47 | BackgroundImage, 48 | 49 | /// 50 | /// The text color of the display text for the control. 51 | /// 52 | TextColor, 53 | 54 | /// 55 | /// The text size of the display text for the control. 56 | /// 57 | TextSize, 58 | 59 | /// 60 | /// The border color of the control. 61 | /// 62 | BorderColor, 63 | 64 | /// 65 | /// The focus color of the control. 66 | /// 67 | FocusColor, 68 | 69 | /// 70 | /// The accent color. Where this color shows up will depend on the control. 71 | /// 72 | AccentColor 73 | } 74 | } -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveControlProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bd4cbf96f234bb4e807d2cbb1cd9813 3 | timeCreated: 1520561728 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveCoordinatesChangedEventArgs.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Microsoft.Mixer 4 | { 5 | public class InteractiveCoordinatesChangedEventArgs : InteractiveEventArgs 6 | { 7 | public string ControlID 8 | { 9 | get; 10 | private set; 11 | } 12 | 13 | public InteractiveParticipant Participant 14 | { 15 | get; 16 | private set; 17 | } 18 | 19 | public Vector3 Position 20 | { 21 | get; 22 | private set; 23 | } 24 | 25 | internal InteractiveCoordinatesChangedEventArgs( 26 | string id, 27 | InteractiveParticipant participant, 28 | Vector3 position) : base(InteractiveEventType.Coordinates) 29 | { 30 | ControlID = id; 31 | Participant = participant; 32 | Position = position; 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveCoordinatesChangedEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 927658e1e9f511b449b5aa567cb9855c 3 | timeCreated: 1524533777 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Interactivity is an event-driven service. This class is the base 31 | /// class for all interactivity events. 32 | /// 33 | public class InteractiveEventArgs : EventArgs 34 | { 35 | /// 36 | /// Function to construct a InteractiveEventArgs. 37 | /// 38 | public InteractiveEventArgs() 39 | { 40 | Time = DateTime.UtcNow; 41 | ErrorCode = 0; 42 | ErrorMessage = string.Empty; 43 | } 44 | 45 | /// 46 | /// The time (in UTC) when this event is triggered. 47 | /// 48 | public DateTime Time 49 | { 50 | get; 51 | private set; 52 | } 53 | 54 | /// 55 | /// The error code indicating the result of the operation. 56 | /// 57 | public int ErrorCode 58 | { 59 | get; 60 | private set; 61 | } 62 | 63 | /// 64 | /// Returns call specific error message with debug information. 65 | /// Message is not localized as it is meant to be used for debugging only. 66 | /// 67 | public string ErrorMessage 68 | { 69 | get; 70 | private set; 71 | } 72 | 73 | /// 74 | /// Type of the event triggered. 75 | /// 76 | public InteractiveEventType EventType 77 | { 78 | get; 79 | private set; 80 | } 81 | 82 | internal InteractiveEventArgs(InteractiveEventType type) 83 | { 84 | Time = DateTime.UtcNow; 85 | ErrorCode = 0; 86 | ErrorMessage = string.Empty; 87 | EventType = type; 88 | } 89 | 90 | internal InteractiveEventArgs(InteractiveEventType type, int errorCode, string errorMessage) 91 | { 92 | Time = DateTime.UtcNow; 93 | ErrorCode = errorCode; 94 | ErrorMessage = errorMessage; 95 | EventType = type; 96 | } 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 153ff775677a1de45bc6b3b5cad4c341 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveEventType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | namespace Microsoft.Mixer 26 | { 27 | /// 28 | /// Defines values used to indicate the interactive event types. 29 | /// 30 | public enum InteractiveEventType 31 | { 32 | /// 33 | /// A default value used all messages. 34 | /// 35 | Unknown, 36 | 37 | /// 38 | /// This event is triggered when the service or manager encounters an error. 39 | /// The Error and ErrorMessage members will contain pertinent info. 40 | /// 41 | Error, 42 | 43 | /// 44 | /// The interactivity state of the InteractivityManager has changed. 45 | /// 46 | InteractivityStateChanged, 47 | 48 | /// 49 | /// Event fired when a participant's state changes, e.g., joins, leaves, 50 | /// has input disabled, etc. 51 | /// 52 | ParticipantStateChanged, 53 | 54 | /// 55 | /// Events representing button input. 56 | /// 57 | Button, 58 | 59 | /// 60 | /// Events representing joystick input. 61 | /// 62 | Joystick, 63 | 64 | /// 65 | /// Events representing mouse button input. 66 | /// 67 | MouseButton, 68 | 69 | /// 70 | /// Events representing coordinate input, where input are x, y, z values from 0 to 1. 71 | /// 72 | Coordinates, 73 | 74 | /// 75 | /// Events representing text input. 76 | /// 77 | TextInput 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveEventType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9633efde53f91bb4da9a2745937be753 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveGroup.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | using System.Collections.Generic; 27 | 28 | namespace Microsoft.Mixer 29 | { 30 | /// 31 | /// Represents group of participants. Groups can be used to segment 32 | /// the audience, with each group having a scene displayed. 33 | /// Each group can have an arbitrary number of participants assigned. 34 | /// Each group can have exactly one scene assigned. A given scene can be 35 | /// assigned to any number of groups. A participant can be in at most 36 | /// one group. There will always be a default group, if no groups are 37 | /// specified. 38 | /// 39 | #if !WINDOWS_UWP 40 | [System.Serializable] 41 | #endif 42 | public class InteractiveGroup 43 | { 44 | /// 45 | /// Unique string identifier for this group. 46 | /// 47 | public string GroupID 48 | { 49 | get; 50 | internal set; 51 | } 52 | 53 | /// 54 | /// Returns a shared pointer to the scene assigned to this group. 55 | /// 56 | public List Participants 57 | { 58 | get 59 | { 60 | List participantsInGroup = new List(); 61 | List allParticipants = InteractivityManager.SingletonInstance.Participants as List; 62 | foreach (InteractiveParticipant participant in allParticipants) 63 | { 64 | if (participant._groupID == GroupID) 65 | { 66 | participantsInGroup.Add(participant); 67 | } 68 | } 69 | return participantsInGroup; 70 | } 71 | } 72 | 73 | /// 74 | /// Returns a shared pointer to the scene assigned to this group. 75 | /// 76 | public string SceneID 77 | { 78 | get; 79 | internal set; 80 | } 81 | 82 | /// 83 | /// Sets the scene assigned for this group. 84 | /// 85 | public void SetScene(string sceneID) 86 | { 87 | SceneID = sceneID; 88 | InteractivityManager.SingletonInstance._SetCurrentSceneInternal(this, sceneID); 89 | } 90 | 91 | internal string _etag; 92 | 93 | /// 94 | /// Function to construct a InteractiveGroup object. 95 | /// 96 | public InteractiveGroup(string groupID) 97 | { 98 | if (InteractivityManager.SingletonInstance.InteractivityState != InteractivityState.InteractivityEnabled && 99 | InteractivityManager.SingletonInstance.InteractivityState != InteractivityState.Initialized) 100 | { 101 | throw new Exception("Error: The InteractivityManager must be initialized and connected to the service to create new groups."); 102 | } 103 | 104 | GroupID = groupID; 105 | InteractivityManager.SingletonInstance._SendCreateGroupsMessage(GroupID, InteractivityManager._WS_MESSAGE_VALUE_DEFAULT_SCENE_ID); 106 | } 107 | 108 | /// 109 | /// Function to construct a InteractiveGroup object. 110 | /// 111 | public InteractiveGroup(string groupID, string sceneID) 112 | { 113 | if (InteractivityManager.SingletonInstance.InteractivityState != InteractivityState.InteractivityEnabled && 114 | InteractivityManager.SingletonInstance.InteractivityState != InteractivityState.Initialized) 115 | { 116 | throw new Exception("Error: The InteractivityManager must be initialized and connected to the service to create new groups."); 117 | } 118 | 119 | GroupID = groupID; 120 | SceneID = sceneID; 121 | InteractivityManager.SingletonInstance._SendCreateGroupsMessage(GroupID, SceneID); 122 | } 123 | 124 | internal InteractiveGroup(string newEtag, string sceneID, string groupID) 125 | { 126 | _etag = newEtag; 127 | SceneID = sceneID; 128 | GroupID = groupID; 129 | } 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveGroup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6e1cf9f6b840d240ae9d0a7ab214980 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveJoystickControl.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System.Collections.Generic; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Represents an interactivity joystick control. All controls are created and 31 | /// configured using Interactive Studio. 32 | /// 33 | #if !WINDOWS_UWP 34 | [System.Serializable] 35 | #endif 36 | public class InteractiveJoystickControl : InteractiveControl 37 | { 38 | /// 39 | /// The current X coordinate of the joystick, in the range of [-1, 1]. 40 | /// 41 | public double X 42 | { 43 | get 44 | { 45 | double x = 0; 46 | if (ControlID != null) 47 | { 48 | _InternalJoystickState joystickState; 49 | if (InteractivityManager._joystickStates.TryGetValue(ControlID, out joystickState)) 50 | { 51 | x = joystickState.X; 52 | } 53 | } 54 | return x; 55 | } 56 | } 57 | 58 | /// 59 | /// The current Y coordinate of the joystick, in the range of [-1, 1]. 60 | /// 61 | public double Y 62 | { 63 | get 64 | { 65 | double y = 0; 66 | if (ControlID != null) 67 | { 68 | _InternalJoystickState joystickState; 69 | if (InteractivityManager._joystickStates.TryGetValue(ControlID, out joystickState)) 70 | { 71 | y = joystickState.Y; 72 | } 73 | } 74 | return y; 75 | } 76 | } 77 | 78 | /// 79 | /// The current [0,1] intensity of this joystick control 80 | /// 81 | public double Intensity 82 | { 83 | get; 84 | private set; 85 | } 86 | 87 | /// 88 | /// The X coordinate of the joystick for a given participant since the last call to DoWork(). 89 | /// 90 | /// The ID of the participant who used the input control. 91 | public double GetX(uint userID) 92 | { 93 | return InteractivityManager.SingletonInstance._GetJoystickXByUserID(ControlID, userID); 94 | } 95 | 96 | /// 97 | /// The X coordinate of the joystick for a given participant since the last call to DoWork(). 98 | /// 99 | /// The ID of the participant who used the input control. 100 | public double GetX(string sessionID) 101 | { 102 | return InteractivityManager.SingletonInstance._GetJoystickX(ControlID, sessionID); 103 | } 104 | 105 | /// 106 | /// The Y coordinate of the joystick for a given participant since the last call to DoWork(). 107 | /// 108 | /// The ID of the participant who used the input control. 109 | public double GetY(uint userID) 110 | { 111 | return InteractivityManager.SingletonInstance._GetJoystickYByUserID(ControlID, userID); 112 | } 113 | 114 | /// 115 | /// The Y coordinate of the joystick for a given participant since the last call to DoWork(). 116 | /// 117 | /// The ID of the participant who used the input control. 118 | public double GetY(string sessionID) 119 | { 120 | return InteractivityManager.SingletonInstance._GetJoystickY(ControlID, sessionID); 121 | } 122 | 123 | public InteractiveJoystickControl(string controlID, InteractiveEventType type, bool enabled, string helpText, string eTag, string sceneID, Dictionary metaproperties) : 124 | base(controlID, InteractivityManager._CONTROL_TYPE_JOYSTICK, type, enabled, helpText, eTag, sceneID, metaproperties) 125 | { 126 | } 127 | 128 | internal uint _userID; 129 | 130 | private bool TryGetJoystickStateByParticipant(string sessionID, string controlID, out _InternalJoystickState joystickState) 131 | { 132 | joystickState = new _InternalJoystickState(); 133 | bool joystickExists = false; 134 | bool participantExists = false; 135 | Dictionary participantControls; 136 | participantExists = InteractivityManager._joystickStatesByParticipant.TryGetValue(sessionID, out participantControls); 137 | if (participantExists) 138 | { 139 | bool controlExists = false; 140 | controlExists = participantControls.TryGetValue(controlID, out joystickState); 141 | if (controlExists) 142 | { 143 | joystickExists = true; 144 | } 145 | } 146 | return joystickExists; 147 | } 148 | } 149 | } 150 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveJoystickControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3432affc2fbad2e4ba48bb3d23327094 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveJoystickEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System.Collections.Generic; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Represents a joystick control event. These events are sent down at an 31 | /// interval frequency configured with Interactive Studio. 32 | /// 33 | public class InteractiveJoystickEventArgs : InteractiveEventArgs 34 | { 35 | /// 36 | /// Unique string identifier for this control. 37 | /// 38 | public string ControlID 39 | { 40 | get; 41 | private set; 42 | } 43 | 44 | /// 45 | /// The X coordinate of the joystick, in the range of [-1, 1]. 46 | /// 47 | public double X 48 | { 49 | get; 50 | private set; 51 | } 52 | 53 | /// 54 | /// The Y coordinate of the joystick, in the range of [-1, 1]. 55 | /// 56 | public double Y 57 | { 58 | get; 59 | private set; 60 | } 61 | 62 | /// 63 | /// Participant whose action this event represents 64 | /// 65 | public InteractiveParticipant Participant 66 | { 67 | get; 68 | private set; 69 | } 70 | 71 | internal InteractiveJoystickEventArgs(InteractiveEventType type, string id, InteractiveParticipant participant, double x, double y) : base(type) 72 | { 73 | ControlID = id; 74 | Participant = participant; 75 | X = x; 76 | // We invert the y-axis to match Unity conventions. In Unity up is positive and down is negative. 77 | Y = -1 * y; 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveJoystickEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a52f17c222eb4594b979b8e772b3fd8c 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveLabelControl.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | using System.Collections.Generic; 27 | 28 | namespace Microsoft.Mixer 29 | { 30 | /// 31 | /// Represents an interactive label control. All controls are created and 32 | /// configured using Interactive Studio. 33 | /// 34 | #if !WINDOWS_UWP 35 | [System.Serializable] 36 | #endif 37 | public class InteractiveLabelControl : InteractiveControl 38 | { 39 | /// 40 | /// Text displayed on this control. 41 | /// 42 | public string Text 43 | { 44 | get; 45 | private set; 46 | } 47 | 48 | /// 49 | /// Function to update the text for the label control. 50 | /// 51 | /// String to display on the label. 52 | public void SetText(string text) 53 | { 54 | InteractivityManager interactivityManager = InteractivityManager.SingletonInstance; 55 | interactivityManager._QueuePropertyUpdate( 56 | _sceneID, 57 | ControlID, 58 | interactivityManager._InteractiveControlPropertyToString(InteractiveControlProperty.Text), 59 | text); 60 | } 61 | 62 | public InteractiveLabelControl(string controlID, string text, string sceneID) : base(controlID, InteractivityManager._CONTROL_KIND_LABEL, InteractiveEventType.Unknown, false, "", "", sceneID, new Dictionary()) 63 | { 64 | Text = text; 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveLabelControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3140adbc16868884d9adfdf059d78285 3 | timeCreated: 1520529467 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveMessageEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | namespace Microsoft.Mixer 26 | { 27 | /// 28 | /// Represents a custom message event. 29 | /// 30 | public class InteractiveMessageEventArgs : InteractiveEventArgs 31 | { 32 | /// 33 | /// The raw contents of the message. 34 | /// 35 | public string Message 36 | { 37 | get; 38 | private set; 39 | } 40 | 41 | internal InteractiveMessageEventArgs(string message) 42 | { 43 | Message = message; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveMessageEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8af93668c63c5d42a6dc525e76b4211 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveMouseButtonEventArgs.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Microsoft.Mixer 4 | { 5 | public class InteractiveMouseButtonEventArgs : InteractiveEventArgs 6 | { 7 | public string ControlID 8 | { 9 | get; 10 | private set; 11 | } 12 | 13 | public InteractiveParticipant Participant 14 | { 15 | get; 16 | private set; 17 | } 18 | 19 | public bool IsPressed 20 | { 21 | get; 22 | private set; 23 | } 24 | 25 | public Vector3 Position 26 | { 27 | get; 28 | private set; 29 | } 30 | 31 | internal InteractiveMouseButtonEventArgs( 32 | string id, 33 | InteractiveParticipant participant, 34 | bool isPressed, 35 | Vector3 position) : base(InteractiveEventType.MouseButton) 36 | { 37 | ControlID = id; 38 | Participant = participant; 39 | IsPressed = isPressed; 40 | Position = position; 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveMouseButtonEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11da6e7dc970a3543bea15caf3cbba00 3 | timeCreated: 1524533777 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipant.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | using System.Collections.Generic; 27 | 28 | namespace Microsoft.Mixer 29 | { 30 | /// 31 | /// Class representing a user currently viewing an interactive stream. 32 | /// 33 | #if !WINDOWS_UWP 34 | [System.Serializable] 35 | #endif 36 | public class InteractiveParticipant 37 | { 38 | /// 39 | /// The user's Mixer level. 40 | /// 41 | public uint Level 42 | { 43 | get; 44 | internal set; 45 | } 46 | 47 | /// 48 | /// The the Mixer user id associated with this participant. This ID persists across sessions, 49 | /// however it will be 0 for non-signed in users so we recommend using SessionID instead. 50 | /// 51 | public uint UserID 52 | { 53 | get; 54 | internal set; 55 | } 56 | 57 | /// 58 | /// The the Mixer id associated with this participant for this interactive session. 59 | /// Most of the time, you want to use this value because it will be a unique for 60 | /// identifier for anonymous users. 61 | /// 62 | public string SessionID 63 | { 64 | get; 65 | internal set; 66 | } 67 | 68 | /// 69 | /// The user's name on Mixer. 70 | /// 71 | public string UserName 72 | { 73 | get; 74 | internal set; 75 | } 76 | 77 | /// 78 | /// UTC time at which this participant connected to this stream. 79 | /// 80 | public DateTime ConnectedAt 81 | { 82 | get; 83 | internal set; 84 | } 85 | 86 | /// 87 | /// Gets or sets the group that this participant is assigned to. This 88 | /// also updates the participant list of the referenced group. 89 | /// 90 | public InteractiveGroup Group 91 | { 92 | get 93 | { 94 | List allGroups = InteractivityManager.SingletonInstance.Groups as List; 95 | foreach (InteractiveGroup group in allGroups) 96 | { 97 | if (group.GroupID == _groupID) 98 | { 99 | return group; 100 | } 101 | } 102 | return new InteractiveGroup("default"); 103 | } 104 | set 105 | { 106 | if (value == null) 107 | { 108 | InteractivityManager.SingletonInstance._LogError("Error: You cannot assign 'null' as the group value."); 109 | return; 110 | } 111 | _groupID = value.GroupID; 112 | InteractivityManager.SingletonInstance._SendUpdateParticipantsMessage(this); 113 | } 114 | } 115 | 116 | /// 117 | /// UTC time at which this participant last had interactive control input. 118 | /// 119 | public DateTime LastInputAt 120 | { 121 | get; 122 | internal set; 123 | } 124 | 125 | /// 126 | /// Set to true if this user is the broadcaster. 127 | /// 128 | public bool IsBroadcaster 129 | { 130 | get 131 | { 132 | if (channelGroups.Contains("Owner")) 133 | { 134 | return true; 135 | } 136 | else 137 | { 138 | return false; 139 | } 140 | } 141 | } 142 | 143 | /// 144 | /// Set to true if the user's input has been disabled. 145 | /// 146 | public bool InputDisabled 147 | { 148 | get; 149 | internal set; 150 | } 151 | 152 | /// 153 | /// Returns an array button objects this participant has interacted with. 154 | /// 155 | public IList Buttons 156 | { 157 | get 158 | { 159 | List buttonsForParticipant = new List(); 160 | Dictionary buttonState; 161 | bool participantEntryExists = InteractivityManager._buttonStatesByParticipant.TryGetValue(SessionID, out buttonState); 162 | if (participantEntryExists) 163 | { 164 | var buttonStatesByParticipantKeys = buttonState.Keys; 165 | foreach (string key in buttonStatesByParticipantKeys) 166 | { 167 | var allButtons = InteractivityManager.SingletonInstance.Buttons; 168 | foreach (InteractiveButtonControl button in allButtons) 169 | { 170 | if (key == button.ControlID) 171 | { 172 | buttonsForParticipant.Add(button); 173 | break; 174 | } 175 | } 176 | } 177 | } 178 | return buttonsForParticipant; 179 | } 180 | } 181 | 182 | /// 183 | /// Returns an array of control IDs of the joysticks this participant has interacted with. 184 | /// 185 | public IList Joysticks 186 | { 187 | get 188 | { 189 | List joysticksForParticipant = new List(); 190 | Dictionary joystickByParticipant; 191 | bool participantEntryExists = InteractivityManager._joystickStatesByParticipant.TryGetValue(SessionID, out joystickByParticipant); 192 | if (participantEntryExists) 193 | { 194 | var joystickStatesByParticipantKeys = joystickByParticipant.Keys; 195 | foreach (string key in joystickStatesByParticipantKeys) 196 | { 197 | var allJoysticks = InteractivityManager.SingletonInstance.Joysticks; 198 | foreach (InteractiveJoystickControl joystick in allJoysticks) 199 | { 200 | if (key == joystick.ControlID) 201 | { 202 | joysticksForParticipant.Add(joystick); 203 | break; 204 | } 205 | } 206 | } 207 | } 208 | return joysticksForParticipant; 209 | } 210 | } 211 | 212 | /// 213 | /// The participant's current state. 214 | /// 215 | public InteractiveParticipantState State 216 | { 217 | get; 218 | internal set; 219 | } 220 | 221 | internal string _etag; 222 | internal string _groupID; 223 | private List channelGroups; 224 | 225 | internal InteractiveParticipant(string sessionID, string newEtag, uint userID, string newGroupID, string userName, List newChannelGroups, uint level, DateTime lastInputAt, DateTime connectedAt, bool inputDisabled, InteractiveParticipantState state) 226 | { 227 | SessionID = sessionID; 228 | UserID = userID; 229 | UserName = userName; 230 | channelGroups = newChannelGroups; 231 | Level = level; 232 | LastInputAt = lastInputAt; 233 | ConnectedAt = connectedAt; 234 | InputDisabled = inputDisabled; 235 | State = state; 236 | _groupID = newGroupID; 237 | _etag = newEtag; 238 | } 239 | } 240 | } -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipant.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3310853f329f93d4aab6b1d031b6e015 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantJoinEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | namespace Microsoft.Mixer 26 | { 27 | /// 28 | /// Triggered when a participant joins the channel. 29 | /// 30 | public class ParticipantJoinEventArgs : InteractiveEventArgs 31 | { 32 | /// 33 | /// Participant who has just joined the channel. 34 | /// 35 | public InteractiveParticipant Participant 36 | { 37 | get; 38 | private set; 39 | } 40 | 41 | internal ParticipantJoinEventArgs(InteractiveParticipant participant): base(InteractiveEventType.ParticipantStateChanged) 42 | { 43 | Participant = participant; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantJoinEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2685959825b748a41acf5f8a3bc7f88e 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantLeaveEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | namespace Microsoft.Mixer 26 | { 27 | /// 28 | /// Triggered when a participant leaves the channel. 29 | /// 30 | public class ParticipantLeaveEventArgs : InteractiveEventArgs 31 | { 32 | /// 33 | /// Participant who has just left the channel. 34 | /// 35 | public InteractiveParticipant Participant 36 | { 37 | get; 38 | private set; 39 | } 40 | 41 | internal ParticipantLeaveEventArgs(InteractiveParticipant participant) 42 | { 43 | Participant = participant; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantLeaveEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8cdb3fe1b6c90e4ab722c330b9391f2 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantState.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | 30 | /// 31 | /// Enum representing the current state of the participant 32 | /// 33 | public enum InteractiveParticipantState 34 | { 35 | /// 36 | /// The participant joined the channel 37 | /// 38 | Joined, 39 | 40 | /// 41 | /// The participant's input is disabled 42 | /// 43 | InputDisabled, 44 | 45 | /// 46 | /// The participant left the channel 47 | /// 48 | Left 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e9fbf8542cf50243ad1c3f267495185 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantStateChangeEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Triggered when a participant joins or leaves the channel. 31 | /// 32 | public class InteractiveParticipantStateChangedEventArgs : InteractiveEventArgs 33 | { 34 | /// 35 | /// Participant who has just joined the channel 36 | /// 37 | public InteractiveParticipant Participant 38 | { 39 | get; 40 | private set; 41 | } 42 | 43 | /// 44 | /// The participant's current state. 45 | /// 46 | public InteractiveParticipantState State 47 | { 48 | get; 49 | private set; 50 | } 51 | 52 | internal InteractiveParticipantStateChangedEventArgs(InteractiveEventType type, InteractiveParticipant participant, InteractiveParticipantState state) : base(type) 53 | { 54 | Participant = participant; 55 | State = state; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveParticipantStateChangeEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac920e94f75dbb241b237c9a8d95cf06 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveScene.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System.Collections.Generic; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Represents an interactive scene. These scenes are configured using 31 | /// Interactive Studio. 32 | /// 33 | #if !WINDOWS_UWP 34 | [System.Serializable] 35 | #endif 36 | public class InteractiveScene 37 | { 38 | /// 39 | /// Unique string identifier for this scene 40 | /// 41 | public string SceneID 42 | { 43 | get; 44 | internal set; 45 | } 46 | 47 | /// 48 | /// Retrieve a List of all of the buttons in the scene. May be empty. 49 | /// 50 | public IList Buttons 51 | { 52 | get 53 | { 54 | List buttonsInScene = new List(); 55 | List allButtons = InteractivityManager.SingletonInstance.Buttons as List; 56 | foreach (InteractiveButtonControl button in allButtons) 57 | { 58 | if (button._sceneID == SceneID) 59 | { 60 | buttonsInScene.Add(button); 61 | } 62 | } 63 | return buttonsInScene; 64 | } 65 | } 66 | 67 | /// 68 | /// Retrieve a List of all of the joysticks in the scene. May be empty. 69 | /// 70 | public IList Joysticks 71 | { 72 | get 73 | { 74 | List joysticksInScene = new List(); 75 | List allJoysticks = InteractivityManager.SingletonInstance.Joysticks as List; 76 | foreach (InteractiveJoystickControl joystick in allJoysticks) 77 | { 78 | if (joystick._sceneID == SceneID) 79 | { 80 | joysticksInScene.Add(joystick); 81 | } 82 | } 83 | return joysticksInScene; 84 | } 85 | } 86 | 87 | /// 88 | /// Retrieve a list of IDs of all of the groups assigned to the scene. May be empty. 89 | /// 90 | public IList Groups 91 | { 92 | get 93 | { 94 | List groupsAssignedToScene = new List(); 95 | List allGroups = InteractivityManager.SingletonInstance.Groups as List; 96 | foreach (InteractiveGroup group in allGroups) 97 | { 98 | if (group.SceneID == SceneID) 99 | { 100 | groupsAssignedToScene.Add(group); 101 | } 102 | } 103 | return groupsAssignedToScene; 104 | } 105 | } 106 | 107 | /// 108 | /// Retrieves a reference to the specified button, if it exists. 109 | /// 110 | public InteractiveButtonControl GetButton(string controlID) 111 | { 112 | return InteractivityManager.SingletonInstance.GetButton(controlID); 113 | } 114 | 115 | /// 116 | /// Retrieve a vector of all of the joysticks in the scene. May be empty. 117 | /// 118 | public InteractiveJoystickControl GetJoystick(string controlID) 119 | { 120 | return InteractivityManager.SingletonInstance.GetJoystick(controlID); 121 | } 122 | 123 | internal string _etag; 124 | 125 | internal InteractiveScene(string sceneID = "", string newEtag = "") 126 | { 127 | SceneID = sceneID; 128 | _etag = newEtag; 129 | } 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveScene.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e8bae46199deec4d8d8348d38b0b7c8 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveTextControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Microsoft.Mixer 5 | { 6 | /// 7 | /// Represents a control that allows a viewer to enter text. All controls are created and 8 | /// configured using Interactive Studio. 9 | /// 10 | #if !WINDOWS_UWP 11 | [System.Serializable] 12 | #endif 13 | public class InteractiveTextControl : InteractiveControl 14 | { 15 | /// 16 | /// Text from the text entry control. 17 | /// 18 | public IList TextResults 19 | { 20 | get 21 | { 22 | return InteractivityManager.SingletonInstance._GetText(ControlID); 23 | } 24 | } 25 | 26 | public InteractiveTextControl(string controlID, InteractiveEventType type, bool disabled, string helpText, string eTag, string sceneID, Dictionary metaproperties) : 27 | base(controlID, InteractivityManager._CONTROL_KIND_TEXTBOX, type, disabled, helpText, eTag, sceneID, metaproperties) 28 | { 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveTextControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac957c7f48abf5a4199ec4523a30956c 3 | timeCreated: 1520960486 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveTextEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Microsoft.Mixer 4 | { 5 | /// 6 | /// Arguments for when the text on an interactive text entry control changes. 7 | /// 8 | public class InteractiveTextEventArgs : InteractiveEventArgs 9 | { 10 | /// 11 | /// Unique string identifier for this control. 12 | /// 13 | public string ControlID 14 | { 15 | get; 16 | private set; 17 | } 18 | 19 | /// 20 | /// The participant who triggered this event. 21 | /// 22 | public InteractiveParticipant Participant 23 | { 24 | get; 25 | private set; 26 | } 27 | 28 | /// 29 | /// The new text value of the control. 30 | /// 31 | public string Text 32 | { 33 | get; 34 | private set; 35 | } 36 | 37 | /// 38 | /// Unique string identifier for the spark transaction associated with this control event. 39 | /// 40 | public string TransactionID 41 | { 42 | get; 43 | private set; 44 | } 45 | 46 | /// 47 | /// Captures a given interactive event transaction, charging the sparks to the appropriate Participant. 48 | /// 49 | public void CaptureTransaction() 50 | { 51 | InteractivityManager.SingletonInstance.CaptureTransaction(TransactionID); 52 | } 53 | 54 | internal InteractiveTextEventArgs( 55 | InteractiveEventType type, 56 | string id, 57 | InteractiveParticipant participant, 58 | string text, 59 | string transactionID) : base(type) 60 | { 61 | ControlID = id; 62 | Participant = participant; 63 | Text = text; 64 | TransactionID = transactionID; 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveTextEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b08be95427f30b4d981c511083b48e7 3 | timeCreated: 1520960486 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveTextResult.cs: -------------------------------------------------------------------------------- 1 | namespace Microsoft.Mixer 2 | { 3 | /// 4 | /// The object returned from the interactive text APIs. 5 | /// 6 | public struct InteractiveTextResult 7 | { 8 | /// 9 | /// The participant who entered the text. 10 | /// 11 | public InteractiveParticipant Participant 12 | { 13 | get; 14 | set; 15 | } 16 | 17 | /// 18 | /// The value of the text the participant entered. 19 | /// 20 | public string Text 21 | { 22 | get; 23 | set; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveTextResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8eb106062908cf242a606f7315699a06 3 | timeCreated: 1520960486 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fef874dc1ac561a4c9bb1940a44326a7 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityState.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | namespace Microsoft.Mixer 26 | { 27 | /// 28 | /// Enum representing the current state of the interactivity service. 29 | /// The state transitions are: 30 | /// NotInitialized -> Initializing 31 | /// Initializing -> ShortCodeRequired 32 | /// ShortCodeRequired -> InteractivityPending 33 | /// InteractivityPending -> InteractivityEnabled 34 | /// InteractivityEnabled -> InteractivityDisabled 35 | /// 36 | public enum InteractivityState 37 | { 38 | /// 39 | /// The InteractivityManager is not initalized. 40 | /// 41 | NotInitialized, 42 | 43 | /// 44 | /// The InteractivityManager is in the process of initializing. 45 | /// 46 | Initializing, 47 | 48 | /// 49 | /// The InteractivityManager needs the user to enter a short code on the website. 50 | /// in order to authenticate with the service. 51 | /// 52 | ShortCodeRequired, 53 | 54 | /// 55 | /// The InteractivityManager is initialized. 56 | /// 57 | Initialized, 58 | 59 | /// 60 | /// The InteractivityManager is initialized, but interactivity is not enabled. 61 | /// 62 | InteractivityDisabled, 63 | 64 | /// 65 | /// Currently connecting to the interactivity service. 66 | /// 67 | InteractivityPending, 68 | 69 | /// 70 | /// Interactivity enabled 71 | /// 72 | InteractivityEnabled 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c406686fabc1d4a44bbd875308b102f6 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityStateChangedEventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using System.Collections.Generic; 26 | 27 | namespace Microsoft.Mixer 28 | { 29 | /// 30 | /// Contains the new interactivity state of the InteractivityManager. 31 | /// 32 | public class InteractivityStateChangedEventArgs : InteractiveEventArgs 33 | { 34 | /// 35 | /// Unique string identifier for this control. 36 | /// 37 | public InteractivityState State 38 | { 39 | get; 40 | private set; 41 | } 42 | 43 | internal InteractivityStateChangedEventArgs(InteractiveEventType type, InteractivityState state) : base(type) 44 | { 45 | State = state; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/InteractivityStateChangedEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1e7e6d8c9e485e4d8cdb2e24d220533 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/LoggingLevel.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | namespace Microsoft.Mixer 26 | { 27 | /// 28 | /// A list of possible levels of logging from the Interactive SDK. 29 | /// 30 | public enum LoggingLevel 31 | { 32 | /// 33 | /// No debug output. 34 | /// 35 | None, 36 | 37 | /// 38 | /// Only errors and warnings. 39 | /// 40 | Minimal, 41 | 42 | /// 43 | /// All events, including every websocket and HTTP message. 44 | /// 45 | Verbose 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/LoggingLevel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bec54b945009cd49b9e0587618ccecd 3 | timeCreated: 1514498763 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/MixerInteractive.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a84bddea62c3e7347875ef98ed866535 3 | timeCreated: 1495131395 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/MixerInteractiveDialog.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Mixer Unity SDK 3 | * 4 | * Copyright (c) Microsoft Corporation 5 | * All rights reserved. 6 | * 7 | * MIT License 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this 10 | * software and associated documentation files (the "Software"), to deal in the Software 11 | * without restriction, including without limitation the rights to use, copy, modify, merge, 12 | * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons 13 | * to whom the Software is furnished to do so, subject to the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be included in all copies or 16 | * substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | * DEALINGS IN THE SOFTWARE. 24 | */ 25 | using UnityEngine; 26 | using UnityEngine.UI; 27 | 28 | public class MixerInteractiveDialog : MonoBehaviour { 29 | 30 | public Text shortCodeElement; 31 | private Canvas _dialogCanvas; 32 | 33 | // Use this for initialization 34 | void Start () { 35 | _dialogCanvas = GetComponent(); 36 | } 37 | 38 | // Update is called once per frame 39 | void Update () { 40 | if (_dialogCanvas != null && 41 | _dialogCanvas.enabled && Input.GetButton("Cancel")) 42 | { 43 | Hide(); 44 | } 45 | } 46 | 47 | public void Show(string shortCode) 48 | { 49 | RefreshShortCode(shortCode); 50 | if (_dialogCanvas != null) 51 | { 52 | _dialogCanvas.enabled = true; 53 | } 54 | } 55 | 56 | public void Hide() 57 | { 58 | if (_dialogCanvas != null) 59 | { 60 | _dialogCanvas.enabled = false; 61 | } 62 | } 63 | 64 | private void RefreshShortCode(string shortCode) 65 | { 66 | shortCodeElement.text = shortCode; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/MixerInteractiveDialog.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6dacc2a786a95354c9e43873710d0fe6 3 | timeCreated: 1495131395 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/Assets/MixerInteractive/Source/Scripts/MixerInteractiveHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 055bf2dbaab25c244b16f75e9d67db13 3 | timeCreated: 1495131395 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.3.0f3 2 | -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /Source/InteractiveSDK/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/Source/InteractiveSDK/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /documentation/media/images/getting-started-add-beammanager-prefab-to-hierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-add-beammanager-prefab-to-hierarchy.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-click-build-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-click-build-tab.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-click-code-tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-click-code-tag.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-click-manage-oath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-click-manage-oath.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-create-give-health-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-create-give-health-button.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-create-new-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-create-new-project.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-edit-give-health-properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-edit-give-health-properties.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-get-client-id-value.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-get-client-id-value.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-get-project-version.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-get-project-version.PNG -------------------------------------------------------------------------------- /documentation/media/images/getting-started-import-unity-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-import-unity-package.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-locate-prefab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-locate-prefab.png -------------------------------------------------------------------------------- /documentation/media/images/getting-started-share-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/getting-started-share-code.png -------------------------------------------------------------------------------- /documentation/media/images/interactive-studio-add-textbox.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/interactive-studio-add-textbox.PNG -------------------------------------------------------------------------------- /documentation/media/images/mixer_unity_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/mixer_unity_menu.png -------------------------------------------------------------------------------- /documentation/media/images/mouse_control_properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/mouse_control_properties.png -------------------------------------------------------------------------------- /documentation/media/images/select_mouse_control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/select_mouse_control.png -------------------------------------------------------------------------------- /documentation/media/images/share-code-sharebutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/share-code-sharebutton.png -------------------------------------------------------------------------------- /documentation/media/images/shareCode-share-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/shareCode-share-dialog.png -------------------------------------------------------------------------------- /documentation/media/images/unity_interactive_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unity_interactive_edit.png -------------------------------------------------------------------------------- /documentation/media/images/unreal-enable-plugin.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-enable-plugin.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-give-health-blueprint.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-give-health-blueprint.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-login-blueprint.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-login-blueprint.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-oauth-values.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-oauth-values.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-save-local.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-save-local.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-studio-givehealth.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-studio-givehealth.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-studio-link-to-unreal.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-studio-link-to-unreal.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-studio-new-oauth-2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-studio-new-oauth-2.PNG -------------------------------------------------------------------------------- /documentation/media/images/unreal-studio-new-oauth.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/documentation/media/images/unreal-studio-new-oauth.PNG -------------------------------------------------------------------------------- /roadmap.md: -------------------------------------------------------------------------------- 1 | # Features 2 | - [X] Buttons 3 | - [X] Joysticks 4 | - [X] Disabling, setting progress and cooldowns for buttons. 5 | - [X] Input by participant 6 | - [X] Get participants 7 | - [X] Groups 8 | - [X] Sparks 9 | - [X] Custom controls 10 | 11 | # Platform support 12 | - [X] Unity Editor on Windows 13 | - [X] Unity Editor on Mac 14 | - [X] Windows Standalone 15 | - [ ] Mac Standalone 16 | - [X] Windows Store Apps (including Xbox One UWPs) 17 | - [X] Xbox One Games (non UWP) 18 | - [X] iOS 19 | - [X] Android 20 | -------------------------------------------------------------------------------- /unreal-studio-new-oauth.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixer/interactive-unity-plugin/89a50815ae9e123b653dca2a745933ff8cf82f07/unreal-studio-new-oauth.PNG --------------------------------------------------------------------------------