Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A mobile (Android) UI Flow Application Made with Unity and programmed in C#. The project features UI workflow, data loading and more.

License

Notifications You must be signed in to change notification settings

pzoghbi/AudioVisualGuide

Repository files navigation

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月5日f1
  1. Clone the project repository to your local drive
  2. Open Unity Hub → Add → Find and open project directory
  3. 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:

  • TranslatedContent
  • Language
  • Media
  • Topic
  • Photo

Mobile preview

image

Tablet preview

image

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++);
 }
}

About

A mobile (Android) UI Flow Application Made with Unity and programmed in C#. The project features UI workflow, data loading and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /