Manager Window
More information about the custom window provided for efficient management of the scriptable objects.
Introduction
Before we get started, you can find the manager window under Unity menu β Tools/TRavljen/UnitSystem Manager.
This window serves as a utility for managing assets that derive from the ManagedSO class type. It simplifies the creation and organisation of ScriptableObjects, including:
Resource*
Resource Node*
Research*
Production Attribute
Faction
Unit Type
Unit* (and its deriving types)
Entity* (and its deriving types)
Note: Some of these assets (marked with
*
) derive from AProducibleSO, which defines common structures like costs and requirements for objects that can be produced by core systems.
Assets like Resource, Research, and Faction do not include prefabs for in-game instantiation (e.g., resources rely on a separate Resource Node asset). Only Entity and Unit types support Prefab references for in-world instantiation.
Overview
The UnitSystem Manager is designed to handle ManagedSO data, using Inspector-like behaviour with additional management tools.
1. Selection, Search, and Creation Controls
Select the type of ScriptableObject to manage.
Use search to filter database entries.
Create, duplicate, or delete assets.
If the selected type allows multiple creation types, a dropdown appears for selection.
2. List of Database Entries
Displays available database entries filtered by the selected type.
Clicking an entry loads its details in the inspector-like panel.
3. Inspector-Like Details Panel
Displays and allows editing of the selected ScriptableObject properties.
Works similarly to Unityβs Inspector, ensuring a familiar editing experience.
4. Prefab Management Section
Adds extra controls for managing Prefab references in Entity and Unit assets.
Provides options to Open, Update, or Remove associated prefabs.
Streamlines handling of prefab-based objects directly from the editor.
Last updated