Chroma Sensa SDK (Unity)
The Chroma SDK allows an application or game to set the details in the Chroma Apps list within the Chroma App
.
This document provides a guide to integrating Chroma RGB using the Chroma Unity SDK. Chroma can be included through premade Chroma Animations or APIs. Here is the list of available methods:
Initialize SDK: Initialize the Chroma SDK to use the library.
Is Active: Check if the app/game has Chroma focus.
Is Connected: Check if Chroma hardware is connected.
Play Chroma Animation: Playback a Chroma Animation asset.
Set Event Name: Name a game event or game trigger in order to also add Haptics to the Chroma event.
Use Forward Chroma Events: Toggle automatic invocation of SetEventName when invoking PlayAnimation using the animation name.
The following APIs are demonstrated in the Assets\Scenes\Scene_Chromatic.unity
sample scene.
Still stuck? Come to our Discord and we will help you out!