Word Trie Toolkit for Unity


Fast word validation, prefix search, autocomplete, and CSV dictionary loading for Unity word games.


by WASD Interactive


Price History +

Word Trie Toolkit for Unity is a lightweight, reusable C# solution for adding fast dictionary-based word features to Unity projects.

Built around an efficient Trie data structure, it is suitable for word games, spelling games, crossword helpers, search systems, educational applications, and other projects requiring fast word lookup.

KEY FEATURES

• Exact-word validation

• Prefix detection

• Autocomplete suggestions

• CSV dictionary loading

• Runtime word addition and removal

• Case-sensitive and case-insensitive modes

• Word and node statistics

• Optional multi-frame initialization for large dictionaries

• Clean and reusable C# API

• Complete example scene

• Sample dictionary

• Setup and API documentation


INCLUDED CONTENT

• Core Trie data structure

• Unity dictionary loader and supporting components

• Example scene demonstrating the toolkit

• Sample CSV dictionary

• Documentation with setup and usage instructions


The included example scene demonstrates exact-word searches, prefix searches, autocomplete suggestions, and runtime dictionary editing.

The core Trie implementation is separated from Unity-specific components, making it easy to integrate into new or existing Unity projects.

REQUIREMENTS AND DEPENDENCIES

• Requires Unity 6 or later


• Developed and tested using Unity 6000.3.10f1

* No third-party plugins or external services are required. The included example scene uses Liberation Sans under the SIL Open Font License 1.1.

• Uses standard Unity and C# functionality only

• Compatible with the Built-in Render Pipeline, Universal Render Pipeline (URP), and High Definition Render Pipeline (HDRP)

• No internet connection is required at runtime

• A CSV dictionary is included, and developers may replace it with their own compatible CSV word list


IMPORTANT INFORMATION

Runtime additions and removals modify only the in-memory Trie during the current session. They do not modify or overwrite the original CSV dictionary file.

This is a script-based toolkit. Developers can integrate its API into their own gameplay systems and user interfaces. The included example scene and sample dictionary are provided to demonstrate setup and usage.


Third-Party Content:


The example scene uses Liberation Sans under the SIL Open Font License 1.1.

See Third-Party Notices.txt and OFL.txt included with the package for license details.