PZ
pzoghbi/AudioVisualGuide
A mobile (Android) UI Flow Application Made with Unity and programmed in C#. The project features UI workflow, data loading and more.
AudioVisualGuide
A mobile (Android) UI Flow Application Made with Unity and programmed in C#.
The project features UI workflow, data loading and more.
The language and topic menus are populated programmatically through the received data.
Installation
- Requires Unity 2021.3.5f1
- Clone the project repository to your local drive
- Open Unity Hub → Add → Find and open project directory
- Open AudioVisualGuide
Packages
Based on Unity 2D Mobile template
- Adaptive performance (Mobile feature) - 3.0.3
- TextMeshPro 3.0.7
- Unity UI - 1.0.0
Setup
Heavily depends on the Assets/Resources/Public/resources.json manifest file.
The file contains information about how the data will be loaded and deserialized.
Several classes support deserialization:
TranslatedContentLanguageMediaTopicPhoto
Mobile preview
Tablet preview
Documentation
IPopulatable
Interface which has two methods: ClearMenu and PopulateMenu.
Use it on menus which are dynamically created (populated).
- For example, topic links are populated based on the content in the selected language.
- For example, it can be used by a higher-level class to automatically perform clear and populate.
void IPopulatableMenu.ClearMenu()
{
foreach(var topicButton in transform.GetComponentsInChildren<TopicButton>())
{
Destroy(topicButton.gameObject);
}
}
void IPopulatableMenu.PopulateMenu()
{
int order = 1;
foreach(var topic in m_Topics)
{
Instantiate(m_TopicButtonPrefab, transform)
.SetTopic(topic, order++);
}
}On this page
Languages
ShaderLab59.8%C#18.3%Mathematica11.5%HLSL10.4%
Contributors
MIT License
Created January 23, 2024
Updated January 27, 2024

