Relationship System

v1.1.0

Editor Window

5-tab monitoring window with real-time updates and analytics.

Overview

The Relationship Editor Window provides a powerful 5-tab interface for monitoring, debugging, and managing relationships in real-time.

Open: Window → Relationship System → Relationship Editor

Overview
Relationships
Factions
Entities
Analytics

Overview Tab

Statistics cards showing relationship health at a glance.

24

Total

12

Positive

5

Negative

7

Neutral

Relationships Tab

Filterable table with all relationship data.

  • Search: Filter by entity name
  • Filter by Lock: Show only locked/unlocked
  • Filter by Level: Show specific level
  • Sort: Value or name ascending/descending
  • Quick Modify: +/-5, +/-10 buttons (Play Mode)
┌───────────────┬───────────────┬───────┬───────────┬────────┐
│ Entity A      │ Entity B      │ Value │ Level     │ Locked │
├───────────────┼───────────────┼───────┼───────────┼────────┤
│ Player        │ Merchant      │  75   │ Friendly  │   ☐    │
│ Player        │ Guard Captain │ -50   │ Hostile   │   ☑    │
│ Player        │ Blacksmith    │  50   │ Friendly  │   ☐    │
└───────────────┴───────────────┴───────┴───────────┴────────┘

Factions Tab

View all factions with hierarchy and member lists.

  • Faction Icon: Visual representation
  • Member Count: Total members
  • Parent Faction: Hierarchy display
  • Auto-Assign Tags: GameObject tags
  • Member List: All members (Play Mode only)

Entities Tab

Table of all registered entities.

  • Entity Type: Character or Faction indicator
  • Icon Display: Entity icons
  • Faction Membership: Which factions entity belongs to
  • Relationship Count: Number of relationships

Analytics Tab

Visual statistics and insights.

  • Level Distribution: Bar chart of relationships per level
  • Value Histogram: Distribution of relationship values
  • Most Connected: Entities with most relationships
  • Recent Changes: Timeline of recent modifications

Key Features

Auto-Refresh

Updates every 0.5 seconds in Play Mode

Quick Modify

+/-5, +/-10 buttons for testing

Lock Toggle

Lock/unlock relationships directly

Export Data

Export relationships to CSV