Unit System
  • WELCOME
    • πŸ‘‹Hello
    • πŸ—ΊοΈRoadmap
    • ⛑️Support & Community
    • πŸŽ“Version - Changelog
  • Getting Started
    • πŸ”ŒImport Package
    • βš™οΈConfiguration
    • πŸ” Database
    • πŸͺŸManager Window
    • Creating a new Scene
      • Player Camera
      • Set up Player
      • Set up Player UI
      • Set up the Game World
    • Create Units
      • Resource (Crystal)
      • Research (Crystal age)
      • Resource node (Crystal Node)
      • Resource collector (Crystal)
      • Combat unit (Mage)
      • Production unit (Mage Tower)
      • Faction (Purple Cubes)
  • How it works
    • Overview
    • Modules
      • Resource
      • Production
      • Population
      • Garrison
      • Collection
  • Integration
    • Unit Selection
    • Unit Formation
    • Object Placement
Powered by GitBook
On this page
  • Introduction
  • Overview
  1. Getting Started

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.

PreviousDatabaseNextCreating a new Scene

Last updated 10 days ago

πŸͺŸ
UnitSystem Editor Window