Class RulePerLayerModifications Extends GridGraphRule
Public
Modifies nodes based on the layer of the surface under the node.
You can for example make all surfaces with a specific layer make the nodes get a specific tag.
This uses the information from the height testing system to determine which layer the surface is on. As a consequence, this rule does not do anything when using 2D physics, or height testing is disabled on the grid graph.
Inner Types
Public Methods
Public Variables
layerRules
Public
Public Enums
RuleAction
Public
Inherited Public Members
Hash
Hash of the settings for this rule.
Public
Pass
Where in the scanning process a rule will be executed.
Public
enabled
Only enabled rules are executed.
Public
Private/Protected Members
SetTagBit
Private
Static