added encounter system

This commit is contained in:
Sebastian Bularca
2026-04-19 12:46:44 +02:00
parent c1b5d0e9e0
commit 8861bdc5eb
94 changed files with 2581 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ Packages/com.jovian.zonesystem/
│ ├── ShapeFactory.cs ← Default shape generation (square, circle, polygon)
│ └── ZoneExporter.cs ← Serialization to JSON
├── Editor/
│ ├── ZoneEditorWindow.cs ← Main editor window (Window → Zone System → Zone Editor)
│ ├── ZoneEditorWindow.cs ← Main editor window (Jovian → Zone System → Zone Editor)
│ ├── ZoneEditorSettings.cs ← Configurable settings: folder path, role colors
│ ├── ZoneInstanceEditor.cs ← Custom inspector + scene handles for shape editing
│ └── ZoneDataEditor.cs ← Role-aware ZoneData inspector
@@ -30,7 +30,7 @@ Packages/com.jovian.zonesystem/
1. Add the package to your project (local package in `Packages/`).
2. Create a **ZonesObjectHolder** GameObject and set **Map Plane** to match your map (e.g. `XZ`).
3. Open **Window → Zone System → Zone Editor**.
3. Open **Jovian → Zone System → Zone Editor**.
4. Click **Create New Zone**, set a name and shape, then click **Create & Edit**.
5. Edit all zone data fields in the editor, then click **Save Zone**.
6. Use scene handles to adjust the polygon shape.
@@ -51,9 +51,9 @@ Packages/com.jovian.zonesystem/
| Menu Path | Description |
|-----------|-------------|
| Window → Zone System → Zone Editor | Main editor window |
| Window → Zone System → Settings | Select or create ZoneEditorSettings asset |
| Window → Zone System → Documentation | Open HTML documentation |
| Jovian → Zone System → Zone Editor | Main editor window |
| Jovian → Zone System → Settings | Select or create ZoneEditorSettings asset |
| Jovian → Zone System → Documentation | Open HTML documentation |
## Runtime API
@@ -75,4 +75,4 @@ List<ZoneData> zones = api.GetOverlappingZones(partyWorldPosition);
## Documentation
Full documentation is available at `Documentation~/index.html`. Open it via **Window → Zone System → Documentation**.
Full documentation is available at `Documentation~/index.html`. Open it via **Jovian → Zone System → Documentation**.