forked from Shardstone/trail-into-darkness
added encounter system
This commit is contained in:
@@ -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**.
|
||||
|
||||
Reference in New Issue
Block a user