Used for using a texture as a source for a grid graph.
More...
|
enum | ChannelUse { None,
Penalty,
Position,
WalkablePenalty
} |
|
|
ChannelUse[] | channels = new ChannelUse[3] |
|
bool | enabled = false |
|
float[] | factors = new float[3] |
|
Texture2D | source = null |
|
|
void | ApplyChannel (Node node, int x, int z, int value, ChannelUse channelUse, float factor) |
| Applies a value to the node using the specified ChannelUse.
|
|
Used for using a texture as a source for a grid graph.
- A* Pro Feature:
- This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here
- Warning
- Can only be used with Unity 3.4 and up
The documentation for this class was generated from the following file:
- /Users/aron/Unity/AstarPathfindingGIT/Assets/AstarPathfindingProject/Generators/GridGenerator.cs