← Back to Assets Framework · ScriptableObject

LFDatabase

ScriptableObject database framework with code generation, async loading, compression, and advanced search. JSON import/export for team collaboration and AI workflows.

Code Generation Async Loading Type-Safe Queries JSON Import/Export 6 Templates 11 Editor Tools
CharacterDatabase.usage
// Get database from registry
var db = LFDatabaseRegistry.GetDatabase<CharacterDatabase>();

// O(1) lookup by ID
var hero = db.GetEntryByID("hero_001");

// Type-safe LINQ
var bosses = db.Entries
    .Where(c => c.Level > 50)
    .OrderByDescending(c => c.Health)
    .ToList();

Stop Managing ScriptableObjects Manually

LFDatabase is a production-ready framework built on ScriptableObjects. A 4-step setup wizard generates custom database classes from templates. Async loading, compression, advanced search, and 11 editor tools — all out of the box.

Core Features

Code Generation Wizard

4-step visual setup creates custom database classes with type-safe entries, validation, and LINQ support. 6 built-in templates or define custom fields.

Async Loading

Background loading with progress tracking. Automatic compression for databases over 1000 entries. LRU cache with configurable size.

Multi-Index Lookups

O(1) by ID, category, or tags. Automatic index building on load. Fast retrieval for thousands of entries.

Advanced Search

Cross-database search with regex support, relevance scoring, and intelligent filtering. Full-text queries across all databases.

JSON Import/Export

Full serialization with validation. Version control your data, share templates, collaborate with designers.

11 Editor Tools

Performance Monitor, Batch Operations, Validation, Find & Replace, Duplicate Detection, Database Merge, and more.

6 Built-In Templates

Start with pre-configured templates or create custom databases from scratch.

Item Database

Weapons, equipment, consumables. Rarity, stack size, value, prefab references.

Character Database

NPCs, enemies, player characters. Level, health, stats, portraits, models.

Audio Database

SFX, music, ambient audio. AudioClip references, volume, loop, categories.

Dialogue Database

Conversations, NPC interactions. Speaker, text, choices, dialogue flow.

Quest Database

Objectives, rewards, quest chains. Requirements, objectives, completion criteria.

Material Database

Crafting resources, ingredients. Material references, textures, shader properties.

Technical

Unity2022.3 LTS+ PipelineAny PlatformsAll LookupsO(1) Templates6 Editor Tools11 Compression40-60%

Simplify Your Data Management

Code generation, async loading, advanced search, and a full editor toolkit.

Get on Unity Asset Store — $24.99