Prerequisites: This guide assumes you already have Game Creator 2 and World Activity System installed.
What You'll Build
By the end of this guide, you'll have:
- A discoverable Ancient Shrine that gives a health bonus
- An automated Merchant NPC that spawns every 5 minutes
- Working proximity discovery system
- Functional event scheduler
Step 1: Setup Manager
- Create New Scene
File → New Scene → Basic (Built-in) - Create Manager GameObject
Right-click in Hierarchy → Create Empty → Name: "Activity Manager"
- Add Component
Select "Activity Manager" → Add Component →
World Activity Manager - Configure Settings
In Inspector:
- • Time Provider Type: GameTime
- • Player Tag: "Player"
- • Debug Logging: ✓ Enabled (for learning)
Step 2: Create First Activity
- Create Activity Asset
Project window → Right-click →
Create → World Activity System → Spatial Activity - Name It
Name: "Ancient Shrine"
- Configure Properties
Select the asset in Project window, then in Inspector:
- • Display Name: "Ancient Shrine"
- • Category: Shrine
- • Requires Discovery: ✓ Checked
- Add Health Bonus
In Inspector, expand On Activate section:
- • Click + button
- • Add Instruction:
Stats → Modify Stat Value - • Stat: Health
- • Operation: Add
- • Value: 20
Step 3: Place Anchor in Scene
- Open Activity Manager Window
Menu:
Window → Game Creator → Activity Manager - Select Activity
In Activity Manager window, find "Ancient Shrine" in the list
- Create Anchor
Click "Create Anchor in Scene" button
- Position Anchor
A new GameObject appears in Hierarchy → Move it to desired location in Scene view
- Adjust Trigger Size
Select anchor → In Inspector, find Sphere Collider → Adjust Radius: 5
Tip: The green wireframe sphere in Scene view shows the discovery radius.
Step 4: Test Discovery
- Setup Player
Create or use existing Player GameObject:
- • Tag it as "Player"
- • Add Character component (GC2)
- • Add Traits component (GC2) with Health stat
- Enter Play Mode
Press Play button in Unity Editor
- Move to Shrine
Move player close to the shrine anchor
- Verify Discovery
Check Console window - you should see:
"Activity discovered: Ancient Shrine" - Check Health
Health stat should increase by 20 points
Success! You've created your first discoverable activity. Let's add an automated event next.
Step 5: Create Automated Event
- Create Temporal Activity
Project window → Right-click →
Create → World Activity System → Temporal Activity - Name It
Name: "Merchant Spawn"
- Configure Event
Select the asset, then in Inspector:
- • Display Name: "Traveling Merchant"
- • Trigger Type: Interval
- • Interval: 300 (5 minutes in seconds)
- • Event Duration: 180 (3 minutes)
- • Event Priority: 0.5
- Add Debug Message
In On Activate section:
- • Add Instruction:
Debug → Debug Log - • Message: "Merchant has arrived!"
- • Add Instruction:
- Enable Scheduler
Select "Activity Manager" in Hierarchy → In Inspector, find EventScheduler section → ✓ Scheduler Enabled
Note: The event will trigger automatically every 5 minutes. Open the Event Scheduler Debug Window to monitor it in real-time.
Test Automated Event
- Enter Play Mode
- Open Event Scheduler Debug Window:
Window → Game Creator → Event Scheduler Debug - Go to Dashboard tab - verify event is scheduled
- Go to Tools tab - click [Trigger] next to "Merchant Spawn" to test immediately
- Check Console for "Merchant has arrived!" message
- Go to Timeline tab - see event scheduled in future
🎉 Congratulations!
You've successfully created:
- ✅ A discoverable spatial activity (shrine)
- ✅ An automated temporal event (merchant)
- ✅ Working proximity detection system
- ✅ Functional event scheduler
Next Steps
Now that you have the basics working, explore these topics:
- Core Concepts — Learn about spatial vs temporal activities, manager architecture
- Components Reference — Explore all properties and settings
- Event Scheduler — Master automated scheduling, time-of-day events, conditionals
- Debug Window — Use Timeline, History, Performance tabs for monitoring
- Workflow Examples — Study complete examples (quests, achievements, boss fights)