Skip to content

Intrigue Manager inspector

The Intrigue Manager is the one component every scene needs. This page walks through its Inspector from top to bottom, one section at a time, with each label, its default, and the moments when you would want to change it. Short version: set the database first. For what the manager is and what it does at start, see The database and the manager.

You add it from Add Component > Intrigues > Intrigue Manager. To write your own, derive from IntrigueManager.

The editor builds four sections in this order, and two of them appear only when a condition holds, which is why the same manager can look different in two scenes or in Edit mode and Play mode. Setup and Scene actors and bodies are always there. Localization shows only while a database is assigned. Runtime shows only in Play mode. The header carries the name, the Intrigues version and a status: Ready when a database and a Dialogue Manager are assigned, Setup required when not.

Setting What it does When to change it
Database The database that holds every scheme, requirement set, actor, clan, family and text. First thing in a new scene. With none, the section offers Create Database… and Assign Existing.
Dialogue Manager A prefab spawned at startup to show dialogues. Use the Dialogue prefab that ships with Intrigues or your own copy. With none, Use Default Prefab appears. When you use your own dialogue window.
Default Style The style of dialogues that name none. Stored on the Dialogue Manager prefab, not on the manager; the row shows only while a Dialogue Manager is assigned. Empty means the window’s own look with the shipped colours and pace. To give every dialogue one look. See Dialogue Style.
Announcement Style The style of announcements that name none. Stored on the Dialogue Manager prefab; shown only while a Dialogue Manager is assigned. Empty means the default style. To style announcements apart.

Two buttons end the section: Open Studio (opens the Studio on the database, or the Home page with none) and, while a database is assigned, Show in Project, which pings it.

Setting What it does Default When to change it
Bodies Whether Intrigues places the model of an actor’s look in the scene. Automatic: an actor whose look has a model gets it. Only when asked: nothing appears until your code calls actor.ShowBody(). Off: no models. Automatic When you place models yourself.
Body Spawner Your own component that makes bodies (pooling, Addressables, a character generator). Empty: Intrigues creates the look’s prefab under the actor’s object. empty When you pool or load models yourself.
Bodies Per Frame How many bodies are made in one frame at most. A new game or a load makes many. 0 means no limit. 8 When a load stutters.
Actor Template Every actor Intrigues creates is a copy of this prefab. Empty means a plain object. A scene object is refused; use a prefab. A prefab with no Actor component gets a plain one (Runtime Actor); with several, the first is used. empty When created actors need your own components.
Actors without a scene object Leave them out: an Actors page actor with no object takes no part. Create them when the game starts: such an actor gets an object when a new game starts. Leave them out When the world should hold every actor of the Actors page.
Game Scenes Scene names or paths that count as the game even without an actor object. Empty: a scene counts when it holds an actor object or a Runtime Actor Loader. empty For a game scene that starts with no actors in it.
Place created actors Where created objects stand at a new game. Where they are made, In a grid, or On a ring (around the manager’s object, in the order of the Actors page). Shown only while Actors without a scene object creates them. Where they are made To spread the actors out for a test.
Spacing The distance between two actors in a grid, and the smallest radius of a ring. At least 0.1. Shown for a grid or a ring. 2
Plane XY for 2D games, XZ for 3D games. Shown for a grid or a ring. XY
Actor Home Scene: an actor lives in its scene and leaves with it. World: a scene left through IntrigueScenes.Unload parks its actors. Scene For games with several scenes. See Actors that outlive their scene.
Return Pose Where a parked actor’s object stands when its scene comes back: Newcomer (where the scene’s own object stands) or Kept (where it stood when parked). Shown with World. Newcomer
End On Scene Load Whether a Single scene load ends parked actors. A new game and IntrigueWorld.End() always do. Shown with World. On Single Load (the other choice is Never) To keep actors through a menu scene.

The section also shows hint lines that follow your choice. With World, one note warns that a plain SceneManager.UnloadSceneAsync still destroys the scene’s actors, because Unity tells nobody before a scene unloads. Unload through IntrigueScenes.Unload.

When the open scenes would give an empty world, the section says so and offers a button: Add a Runtime Actor Loader and create them at start, Create them when the game starts or Add a Runtime Actor Loader, depending on the case. See Runtime Actor Loader.

Setting What it does Default
Active Language The language the game starts in, unless Language At Start says otherwise. In Play mode a change switches the language at once. The first language, if the saved one is not in the database
Language At Start As set above; The player’s last choice, then the device’s language; The device’s language. As set above
Remember The Player’s Choice When the player picks a language, the game keeps it for the next start, in the player’s preferences. off

With no languages, the section says to add one on the Texts page. Open the Texts page is the button.

Play mode only, and nothing here is editable. The rows are read-only: Player, Actors, Active Schemes, Started today, Started this year, Started in total, Finished, Recent schemes, Language, Calendar (day and year), and a Refresh button. The counts of started and finished schemes come from the host; a client reads 0. Hover Active Schemes, the five scheme counts or Calendar for its rule.