Inherits MonoBehaviour.
Public Types | |
enum | ShadowType { ShadowType.Rekursive, ShadowType.RaySquare, ShadowType.RayRound, ShadowType.Flood, ShadowType.RekursiveFlood, ShadowType.RaySquareFlood, ShadowType.RayRoundFlood } |
Public Member Functions | |
void | InitFoW (Map map_) |
void | DestroyFoW () |
void | UpdateFoW (Address playerPosition) |
Public Attributes | |
float | layer = 1.0f |
int | visibilityRange = 6 |
Color | visible = new Color(0.0f, 0.0f, 0.0f, 0.0f) |
Color | visited = new Color(0.0f, 0.0f, 0.0f, 0.9f) |
Color | unvisited = new Color(0.0f, 0.0f, 0.0f, 1.0f) |
ShadowType | type = ShadowType.Rekursive |
FilterMode | filterMode = FilterMode.Bilinear |
List< string > | opaqueCells |
Properties | |
Texture2D | FogTexture [get] |
void ProD.FogOfWar.DestroyFoW | ( | ) |
void ProD.FogOfWar.InitFoW | ( | Map | map_ | ) |
void ProD.FogOfWar.UpdateFoW | ( | Address | playerPosition | ) |
FilterMode ProD.FogOfWar.filterMode = FilterMode.Bilinear |
float ProD.FogOfWar.layer = 1.0f |
List<string> ProD.FogOfWar.opaqueCells |
ShadowType ProD.FogOfWar.type = ShadowType.Rekursive |
Color ProD.FogOfWar.unvisited = new Color(0.0f, 0.0f, 0.0f, 1.0f) |
int ProD.FogOfWar.visibilityRange = 6 |
Color ProD.FogOfWar.visible = new Color(0.0f, 0.0f, 0.0f, 0.0f) |
Color ProD.FogOfWar.visited = new Color(0.0f, 0.0f, 0.0f, 0.9f) |
|
get |