Class WorkItemProcessor Extends IWorkItemContext
    Public
    
    
    
    Inner Types
Public Methods
        
                AddWorkItem
        
                (item)
    
                
                Add a work item to be processed when pathfinding is paused.
                    Public
                
            
        
                EnsureValidFloodFill
        
                ()
    
                
                If a WorkItem needs to have a valid flood fill during execution, call this method to ensure there are no pending flood fills.
                    Public
                
            
        
                OnFloodFill
        
                ()
    
                
                
                    Public
                
            
        
                ProcessWorkItems
        
                (force)
    
                
                Process graph updating work items.
                    Public
                
            
        
                WorkItemProcessor
        
                (astar)
    
                
                
                    Public
                
            Public Variables
        
                workItemsInProgress
        
    
                
                True while a batch of work items are being processed.
                    Public
                
            
        
                workItemsInProgressRightNow
        
    
                
                Used to prevent waiting for work items to complete inside other work items as that will cause the program to hang.
                    Public
                
            Private/Protected Members
        
                astar
        
    
                
                
                    Private
                        Readonly
                
            
        
                queuedWorkItemFloodFill
        
    
                
                True if any work items have queued a flood fill.
                    Private
                
            
        
                QueueFloodFill
        
                ()
    
                
                Call during work items to queue a flood fill.
                    Private
                
            
        
                workItems
        
    
                
                
                    Private
                        Readonly