Expose playerIndex / DeviceID in GameController framework for Wwise Motion support in Unity
- Lenguaje dominante
- C#
- Estrellas
- 982
- Forks
- 248
- Merge medio
- 6 d 12 h
- PR fusionados (30 d)
- 2
Descripción
**Is your feature request related to a problem? Please describe.**
We cannot use Wwise Motion on Apple platforms for haptics due to missing `playerIndex` / `DeviceID` exposure in the Apple Unity Plug-ins.
See Wwise Motion [documentation](https://www.audiokinetic.com/en/public-library/2024.1.9_8920/?source=SDK&id=integrating_elements_motion.html) that requires for all Apple platforms to set the `DeviceID` even for single player games. Otherwise Wwise Motion is not playing any haptics / rumble on Apple platforms.
We use it on all other platforms like Windows and consoles. Thus, the need to have that covered to bring also the same experience to Apple platforms.
**Describe the solution you'd like**
Being able to set the `playerIndex` through C# functions / `Get/Set` methods within Unity and then to retrieve the `DeviceID` needed for Wwise Motion.
**Describe alternatives you've considered**
Shipping on Apple platforms without haptics / rumble support.
**Additional context**
Submitted Apple Feedback ID: FB18696265
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza leyendo el framework GameController y la documentación de Apple Unity Plug-ins enlazada en la issue; después, sigue cómo se expone la entrada del jugador mediante C# en las plataformas de Apple. El trabajo estará terminado cuando los llamadores de Unity puedan establecer playerIndex y recuperar la DeviceID necesaria para Wwise Motion para la háptica de Apple.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, unity
- Área
- game-dev, mobile-dev
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100