Skip to main content

AF Countries & Flags

for Unity UI (uGUI)

Countries, territories & constituent countries
Ready-to-use country data with configurable inclusion

Flags in two formats
Rectangular and square flag sets included

Smart search & filtering
Search, sort and filter by Continent or Group

Country & currency data
Country and currency information with their relationships

Flexible display
Colors, fonts, layout and more

Ready-to-use selector
Complete searchable ScrollView selector for Unity UI

AF Countries & Flags

Unity 6 / UGUI / TMP / Built-In / URP / HDRP / SRP

Easy Inspector setup / Prefab-based / Full runtime API

Soon on Unity Asset Store

Choose the view that fits your UI

AF Countries & Flags includes four ready-to-use item views, from a full country display to compact flag-only selection. Choose the information your UI needs, then position the selector Below, Above or Center to suit your layout.

Standard > Flag, country name and selection indicator for a familiar country selector.
Compact > Country name and selection indicator when flags aren't required.
Tiny > Flag and selection indicator for space-constrained interfaces.
Custom > Combine additional country and currency fields to build a more detailed selector.

Each view uses the same country data, filtering and selection system, so presentation can change without changing how the selector works.

AF Countries & Flags - Standard View

AF Countries & Flags - Standard View

AF Countries & Flags - Compact View

AF Countries & Flags - Compact View

AF Countries & Flags - Tiny View

AF Countries & Flags - Tiny View

AF Countries & Flags - Custom View

AF Countries & Flags - Custom View

AF Countries & Flags - Standard View Below

AF Countries & Flags - Standard View Below

AF Countries & Flags - Compact View Above

AF Countries & Flags - Compact View Above

AF Countries & Flags - Tiny View Center NoFilter

AF Countries & Flags - Tiny View Center NoFilter

AF Countries & Flags - Custom View Below

Configure the selector in the Inspector

AF Countries & Flags keeps runtime configuration organised across dedicated Inspector tabs. Settings controls the selector behaviour, display mode, placement and size; Design handles typography and filter presentation; Assignments exposes the database, prefabs and UI references; and Events provides UnityEvent callbacks for country selection.

Settings

AF Countries & Flags - Settings

Design

AF Countries & Flags - Design

Assignments

AF Countries & Flags - Assignments

Events

AF Countries & Flags - Events

Choose exactly what your users can select

AF Countries & Flags includes a complete dataset, but your project does not have to expose all of it. The Selections editor lets each project define which countries, continents, groups and currencies are available at runtime.

Countries
Publish or exclude individual countries and territories, with search plus Continent and Group filters for managing larger selections.

Continents
Control which continents are available for filtering, including the supplied Global grouping.

Groups
Enable only the international or regional groups relevant to your project, such as the EU, African Union, ASEAN or Schengen Area.

Currencies
Choose which currencies are published alongside the country data, with search and bulk selection tools for managing the full list.

Selections are stored with the asset configuration, so the runtime selector works from the dataset you define rather than requiring filtering or cleanup in your own code.

AF Countries & Flags - Editor Selections Countries

AF Countries & Flags - Editor Selections Countries

AF Countries & Flags - Editor Selections Currencies

AF Countries & Flags - Editor Selections Currencies

AF Countries & Flags - Editor Selections Groups

AF Countries & Flags - Editor Selections Groups

AF Countries & Flags - Editor Selections Continents

AF Countries & Flags - Editor Selections Continents

Features

  • Countries, territories and constituent countries included
  • Rectangular and square flag sets
  • Standard, Compact, Tiny and Custom item views
  • Search, A–Z / Z–A sorting and filtering
  • Continent and Group filtering
  • English, local and Latin country names
  • Country and currency data with relationships
  • Below, Above and Center selector positioning

Developers

  • Standard Unity uGUI and TextMesh Pro components
  • Full C# source included
  • Public API for reading and setting selections
  • Country data available at runtime
  • Configurable published Countries, Continents, Groups and Currencies
  • UnityEvent callback for country selection
  • UI references and supplied prefabs exposed for customization
  • Multiple independent selector instances supported

Technical details

  • Built for Unity UI (uGUI)
  • Uses TextMesh Pro
  • Country database stored as a ScriptableObject
  • No third-party dependencies
  • No Asset Store package dependencies
  • Full source — no precompiled runtime DLL
  • Compatible with Built-in, URP, HDRP and Custom Render Pipelines
  • Genre and project independent
  • Localization friendly
  • UI Toolkit is not supported