Unity Fog Of War
How To Use
fist CopyEngine Fog of War (CEFow) is not extend MonoBehaviour. so you need call
when the game start.
the $propery you pass in is defined in
CEFowProperty.cs file. check for more detail in that file.
as the CEFow is not extend MonoBehaviour, so you need call
the frequency of this function called is up to you, you can call it once pre frame or once pre second.
even you can call it only when some explorer changed.
it will not hit any performance issue for call it once pre frame. CEFow will only repaint the Fow texture when something really changed.
there are two type of explorer , static and not static. check more detail with the demo project.
CEFow provide a function
let you check is the point in fog or not.
check more detail in
if you curiousness on how i made this,please check more info on my Blog