This demo is an example of Muxy GameLink integrated with the built in Unity FPS Microgame, it includes the game code and extension code.
You can also refer to our Unity FPS Demo Code Walkthrough of this demo. The walkthrough explains as much of the code interaction as possible.
Please view our Quickstart Guide on how to make a Twitch Extension (or take an existing one) and register it with Muxy.
- Start a new
FPS Microgame
template project in the Unity Hub. - Install the GameLink Library into the packages folder.
- Drag and drop
GameLink.prefab
intoAssets\FPS\Prefabs
. - Drag and drop
GameLinkFPSBehaviour.cs
intoAssets\FPS\Scripts
. - Open
Assets\FPS\Scenes\IntroMenu.unity
and dragGameLink.prefab
into the hierarchy scene root. - Enter your extension id into the component field
GAMELINK_EXTENSION_ID
on the GameLink prefab.
Please view the README inside the Extension folder on how to run it.