NPC Memory System
NPCs remember player actions and calculate cumulative attitude.
Overview
Component
NPCMemory — MonoBehaviour. Add to the NPC GameObject.
API
Remember
Records a player action.
GetAttitude
Returns the sum of all memory weights.
HasMemory
Checks if a specific memory type exists.
ForgetOldest
Manually removes the oldest memory. Called automatically when MaxMemories is exceeded.