# adriandammers/eco-warden architecture

> Architecture diagram of the GitHub repository adriandammers/eco-warden, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/adriandammers/eco-warden
- Repository: https://github.com/adriandammers/eco-warden

## Overview

This appears to be a Unity wildlife game project: its scripts and scene assets indicate player movement and rifle interaction, animal behavior and perception, and an animal-guide UI backed by animal data. The tree also includes a sample scene and a low-poly nature asset pack. No README or source excerpts were provided, so component relationships and runtime orchestration cannot be verified; the graph therefore shows the identifiable product areas without speculative edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_player["Player Gameplay"]
  node_player_controller["Player Controller"]
  node_player_rifle["Player Rifle<br/>[PlayerRifle.cs]"]
  node_input_actions["Input Actions"]
end

subgraph group_animals["Animal Systems"]
  node_animal_fsm["Animal FSM<br/>[AnimalFSM.cs]"]
  node_animal_perception["Animal Perception"]
end

subgraph group_guide["Animal Guide"]
  node_animal_data["Animal Data<br/>[AnimalData.cs]"]
  node_animal_database["Animal Database<br/>[AnimalDatabase.cs]"]
  node_animal_database_asset[("Database Asset")]
  node_animal_guide_ui["Animal Guide UI<br/>[AnimalGuideUI.cs]"]
  node_guide_toggle["Guide Toggle<br/>[ToggleUI.cs]"]
end

subgraph group_world["Game World"]
  node_sample_scene["Sample Scene<br/>[SampleScene.unity]"]
  node_nature_assets["Nature Pack"]
end

node_player(("Player"))

click node_player_controller "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/PlayerController.cs"
click node_player_rifle "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/PlayerRifle.cs"
click node_input_actions "https://github.com/adriandammers/eco-warden/blob/main/Assets/InputSystem_Actions.inputactions"
click node_animal_fsm "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalFSM.cs"
click node_animal_perception "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalPerception.cs"
click node_animal_data "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalData.cs"
click node_animal_database "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalDatabase.cs"
click node_animal_database_asset "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalDatabase.asset"
click node_animal_guide_ui "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalGuideUI.cs"
click node_guide_toggle "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/ToggleUI.cs"
click node_sample_scene "https://github.com/adriandammers/eco-warden/blob/main/Assets/Scenes/SampleScene.unity"
click node_nature_assets "https://github.com/adriandammers/eco-warden/tree/main/Assets/Pure%20Poly/Free%20Low%20Poly%20Nature%20Pack"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_player_controller,node_player_rifle,node_input_actions toneBlue
class node_animal_fsm,node_animal_perception toneAmber
class node_animal_data,node_animal_database,node_animal_database_asset,node_animal_guide_ui,node_guide_toggle toneMint
class node_sample_scene,node_nature_assets toneRose
class node_player toneIndigo
```

## Components

### Player Gameplay

- [Player Controller](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/PlayerController.cs): `Assets/Scripts/PlayerController.cs`
- [Player Rifle](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/PlayerRifle.cs): `Assets/Scripts/PlayerRifle.cs`
- [Input Actions](https://github.com/adriandammers/eco-warden/blob/main/Assets/InputSystem_Actions.inputactions): `Assets/InputSystem_Actions.inputactions`

### Animal Systems

- [Animal FSM](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalFSM.cs): `Assets/Scripts/AnimalFSM.cs`
- [Animal Perception](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalPerception.cs): `Assets/Scripts/AnimalPerception.cs`

### Animal Guide

- [Animal Data](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalData.cs): `Assets/Scripts/AnimalGuide/AnimalData.cs`
- [Animal Database](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalDatabase.cs): `Assets/Scripts/AnimalGuide/AnimalDatabase.cs`
- [Database Asset](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalDatabase.asset): `Assets/Scripts/AnimalGuide/AnimalDatabase.asset`
- [Animal Guide UI](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/AnimalGuideUI.cs): `Assets/Scripts/AnimalGuide/AnimalGuideUI.cs`
- [Guide Toggle](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scripts/AnimalGuide/ToggleUI.cs): `Assets/Scripts/AnimalGuide/ToggleUI.cs`

### Game World

- [Sample Scene](https://github.com/adriandammers/eco-warden/blob/main/Assets/Scenes/SampleScene.unity): `Assets/Scenes/SampleScene.unity`
- [Nature Pack](https://github.com/adriandammers/eco-warden/tree/main/Assets/Pure%20Poly/Free%20Low%20Poly%20Nature%20Pack): `Assets/Pure Poly/Free Low Poly Nature Pack`

### Other components

- **Player**
