Skip to content

AirConsole/airconsole-unity-plugin

Repository files navigation

Info

The AirConsole-Unity-Plugin is a C# wrapper for the AirConsole Javascript API. AirConsole provides a simple to use Javascript API for game developers to build their own local multiplayer realtime browser games. You can find the Javascript API documentation here: https://airconsole.github.io/airconsole-api

IMPORTANT: The plugin comes with an embedded webserver / websocket-server for the communication between the AirConsole backend and the Unity-Editor. You don't need to install any other webserver or services.

Changelog

Please see CHANGELOG.md for the full changelog.

Upgrading your installation

The upgrade instructions can be found in https://github.com/AirConsole/airconsole-unity-plugin/wiki/Upgrading-the-Unity-Plugin-to-a-newer-version

Documentation

All install instructions and examples are documented in the file "Documentation_1.7.pdf" inside this folder. There are more examples on the website: https://developers.airconsole.com/

Platforms

AirConsole supports WebGL and AndroidTV as targets. To make use of this plugin, you need to make sure to switch your target to either WebGL or Android.

1. Android instructions

1.1 Debugging the Chromium webview in Android Builds

To be able to connect to the Chrome Webview, launch the Android based AirConsole application using ADB and add the intent extra webview_debuggable

Example: adb shell am start -n <package_name>/com.unity3d.player.UnityPlayerActivity --ez webview_debuggable true

1.2 Debugging AirConsole Platform Messages in Android Builds

To have all received platform message payloads logged, launch the Android based AirConsole application using ADB and add the intent extra log_platform_messages

Example: adb shell am start -n <package_name>/com.unity3d.player.UnityPlayerActivity --ez log_platform_messages true

Support

If you need support, please visit: https://developers.airconsole.com/faq-help

About

A plugin for Unity to develop for AirConsole

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10