mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Update Eagle scene setup docs (#6986)
This commit is contained in:
@@ -68,7 +68,7 @@ private GameObject GetEffectPrefab(string beastName) {
|
|||||||
|
|
||||||
### 4. Wire up in the scene
|
### 4. Wire up in the scene
|
||||||
|
|
||||||
In `Gameplay.unity`, find the `ProvinceBeastsController` component and assign your new prefab to the new field.
|
In `Assets/Scenes/Eagle.unity`, find the `ProvinceBeastsController` component on the Eagle map object and assign your new prefab to the new field.
|
||||||
|
|
||||||
### 5. Test
|
### 5. Test
|
||||||
|
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ Create a tool to programmatically regenerate the Eagle strategic map images with
|
|||||||
| `Assets/Eagle/Materials/*.png` | Replaced province masks |
|
| `Assets/Eagle/Materials/*.png` | Replaced province masks |
|
||||||
| `Assets/Eagle/map_bw_labels.png` | Either: regenerated, or removed if using dynamic labels |
|
| `Assets/Eagle/map_bw_labels.png` | Either: regenerated, or removed if using dynamic labels |
|
||||||
| `province_map.tsv` | Add centroid columns |
|
| `province_map.tsv` | Add centroid columns |
|
||||||
| `Assets/Gameplay.unity` | Add ProvinceLabelsController, label prefab instances |
|
| `Assets/Scenes/Eagle.unity` | Add ProvinceLabelsController, label prefab instances |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ Create these prefabs in `Assets/Eagle/Effects/`:
|
|||||||
|
|
||||||
### Scene Setup
|
### Scene Setup
|
||||||
|
|
||||||
Wire up in `Gameplay.unity`:
|
Wire up in `Assets/Scenes/Eagle.unity`:
|
||||||
1. Add controller components to the Map GameObject
|
1. Add controller components to the Map GameObject
|
||||||
2. Assign `mapContainer`, `centroidsJson` (shared with other controllers)
|
2. Assign `mapContainer`, `centroidsJson` (shared with other controllers)
|
||||||
3. Assign the effect prefab for each controller
|
3. Assign the effect prefab for each controller
|
||||||
|
|||||||
Reference in New Issue
Block a user