My task was to make Sonity able to be used in Uniy's ECS framework
Keywords: Unity, C#, ECS, Burst Compiling, Multi-threading, Tools
Sonity: Sonigon/Sonity
My task was to make Sonity able to be used in Uniy's ECS framework
Keywords: Unity, C#, ECS, Burst Compiling, Multi-threading, Tools
Sonity: Sonigon/Sonity
As a Programming Consultant for Sonity, my role was to design and implement an ECS component responsible for managing sounds for that entity. This component needed to integrate seamlessly with Unity's Entity Component System (ECS), enabling efficient audio management within a data-oriented architecture.
Key Component Objectives:
Trigger-based Sound Playback: The component had to play sounds when specific triggers were activated, allowing for dynamic audio playback within the game.
Functions: The component also needed to expose functions like play, pause, and stop, which could be called from other ECS systems giving more control over the audio during runtime.
Code: Be able to play sound directly from code in the ECS framework without having a component.