Skip to content

Category Collections and Algorithms

Gustavo edited this page Oct 11, 2026 · 1 revision

Collections and Algorithms

Reusable maps, buffers, serialized values, graphs, trees and pathfinding.

  • Bictionary — Maintains paired key-to-value and value-to-key dictionary lookups.
  • OneToOneMap — Manages unique pairings between two sets of keys.
  • OneToManyMap — Stores one key associated with multiple values.
  • ManyToManyMap — Stores relations where both sides can have multiple associations.
  • MappedList — Combines ordered list access with a lookup map.
  • CircularBuffer — Keeps a bounded sequence in reusable circular storage.
  • Priority Queues — Provides priority-ordered queues, including the specialized queue used by AStar.
  • MovingAverage — Calculates a rolling average of recent numeric samples.
  • SerializableDictionary — Stores dictionary entries in a Unity-serializable form with a custom Inspector drawer.
  • SerializableType — Persists CLR type references and supplies a filtered type picker.
  • SerializedDateTime — Wraps DateTime for Unity serialization and Inspector date editing.
  • SerializedTimeSpan — Wraps TimeSpan for Unity serialization and Inspector duration editing.
  • ScriptableObjectContainer — Returns cloned data from a ScriptableObject container and sets the clone's parent reference.
  • Graphs V1 — Linked and hierarchical graph structures represent connected nodes and graph nesting.
  • Tree V1 — Branch-based tree structure in the original graph API.
  • Graphs V2 — Interface-based nodes and connections with a reusable graph implementation.
  • Tree V2 — Parent-child tree nodes expose a reusable hierarchy API.
  • BinaryTree — Two-child node structure with binary-tree operations.
  • SelfBalanceTree — Self-balancing binary-search tree with rotation-based rebalancing.
  • MultiParentTree — Hierarchy whose nodes may belong to multiple parents.
  • Nested Types — ScriptableObject taxonomy with multiple parents, cached hierarchy queries and cycle checks.
  • AStar Pathfinding — Generic A* search uses a supplied neighbor and heuristic contract.

Start here · Full catalog · Common combinations


Documentation snapshot: 2026-10-11

Tags: legendarytools/category

Clone this wiki locally