Quick Setup
This guide provides a streamlined workflow for integrating the RTS Fog of War system into your Unity project.
Setup Steps
-
Import the Fog of War package into your Unity project.
-
Create a new scene or open an existing scene.
-
Create a ground plane (GameObject > 3D Object > Plane) to serve as your playable area.
-
Create an empty GameObject and name it "Fog Manager":
- Add the
FogOfWarManagercomponent. -
Configure the Bounds properties to match your ground plane's dimensions.
-
Create a GameObject within the defined bounds area:
- Add the
VisionSourcecomponent. -
Adjust the Scale property to set the vision radius.
-
Enter Play Mode - the fog should now cover the entire area except for the region around the VisionSource.