Class GridGraphRules
    Public
    
    Container for all rules in a grid graph.
// Get the first grid graph in the scene 
var gridGraph = AstarPath.active.data.gridGraph;
gridGraph.rules.AddRule(new Pathfinding.Graphs.Grid.Rules.RuleAnglePenalty {
    penaltyScale = 10000,
    curve = AnimationCurve.Linear(0, 0, 90, 1),
});
Inner Types
Public Methods
Private/Protected Members
        
                jobSystemCallbacks
        
    
                    
                    
                        Private
                    
                
        
                lastHash
        
    
                    
                    
                        Private
                    
                
        
                mainThreadCallbacks
        
    
                    
                    
                        Private
                    
                
        
                rules
        
    
                    
                    List of all rules.
                        Private