Creating Engaging Interfaces with Unity UI and Audio Integration
摘要
The design of highly engaging interactive systems necessitates a cohesive strategy for managing visual and audial feedback channels to minimize extraneous cognitive load. In game development, particularly within the Unity ecosystem, user interface (UI) implementation often defaults to fragmented, tightly coupled architectures, such as the “Spaghetti Pattern”, which complicates the reliable synchronization of UI state changes with functional audio cues. This fragmentation increases maintenance costs and degrades the overall player experience. This paper proposes an integration framework utilizing the established Model-View-View Model (MVVM) design pattern, specifically adapted for Unity’s UI systems, to establish a clear, unidirectional data flow (UDF) between core game state and decoupled visual and audial presentation layers. By leveraging Unity’s native data binding and event systems (such as the Change Event), this architecture guarantees data integrity and synchronization. Furthermore, the framework integrates research-backed principles of functional audio design, prioritizing realistic non-speech sound cues for conveying critical game information. Empirical evaluation, utilizing a mixed-methods approach including the System Usability Scale (SUS) and objective health awareness metrics, is discussed. The anticipated results demonstrate that this structured MVVM architecture, coupled with strategically applied multimodal feedback, significantly improves interface usability and enhances player engagement by successfully offloading visual cognitive demands.