Spawn & Wave System

v1.0.0

Installation

Follow this guide to install Spawn & Wave System in your Unity project.

System Requirements

System Requirements

ComponentVersion
Unity Editor2022.3.0f1 or higher
Game Creator 2 Core1.7.0 or higher
Game Creator 2 Stats1.1.0 or higher
TextMeshPro3.0.6 or higher

Prerequisites

Before installing SWS, ensure you have the following:

  1. Game Creator 2 Core installed from the Unity Asset Store
  2. GC2 Stats Module (optional) for health tracking and auto-defeat
  3. A Unity project using Unity 2022.3 or later
Recommended: Install the GC2 Stats Module if you want entities to automatically be marked as defeated when their health reaches zero.

Installation Steps

  1. Open Package Manager

    In Unity, go to Window → Package Manager

  2. Import SWS from Asset Store

    Find SWS in your purchased assets and click Import

  3. Wait for Compilation

    Unity will compile the scripts. This may take a moment.

  4. Verify Installation

    Check that SpawnManager appears in the Add Component menu

Project Structure

After installation, verify the following folder structure exists:

Assets/
├── Plugins/
│   ├── GameCreator/
│   └── SpawnWaveSystem/
│       ├── Runtime/
│       │   ├── Manager/
│       │   ├── Components/
│       │   ├── Data/
│       │   ├── GC2/
│       │   ├── UI/
│       │   └── Helpers/
│       ├── Editor/
│       └── Documentation/

Verify Installation

To verify SWS is correctly installed:

  1. Create a new empty GameObject in your scene
  2. Click Add Component
  3. Search for "Spawn Manager"
  4. If it appears, the installation was successful!
Visual Scripting: SWS Instructions, Conditions, and Events will appear under the Spawn Wave System category in GC2's Visual Scripting components.

Quick Start with Scene Generators

SWS includes scene generators to quickly create test setups:

Tower Defense Scene

Tools → Spawn Wave System → Generate Test Scenes → Tower Defense Scene

Roguelike Scene

Tools → Spawn Wave System → Generate Test Scenes → Roguelike Scene

Resource Respawn Scene

Tools → Spawn Wave System → Generate Test Scenes → Resource Scene

Troubleshooting

Compilation Errors After Import

Ensure Game Creator 2 Core is installed and up to date. SWS requires GC2 Core as a dependency. Reimport GC2 if necessary via the Package Manager.

Missing SpawnManager in Add Component Menu

Make sure the SWS assembly definition is correctly referenced. Try reimporting the SWS package or restarting Unity.

Visual Scripting Components Not Showing

GC2 Visual Scripting components should appear automatically. If not, check that GC2 is properly installed and try regenerating the Visual Scripting unit options.

Pool Objects Not Being Reused

Verify that SpawnProfile has 'Use Pooling' enabled and the pool size is greater than 0. Check that entities are being despawned via SpawnedEntityTracker, not destroyed directly.