Class Patrol Extends VersionedMonoBehaviour
    Public
    
    Simple patrol behavior.

This will set the destination on the agent so that it moves through the sequence of objects in the targets array. Upon reaching a target it will wait for delay seconds.
Public Variables
        
                delay
        
    
                    
                    Time in seconds to wait at each target.
                        Public
                    
                
        
                targets
        
    
                    
                    Target points to move to in order.
                        Public
                    
                
        
                updateDestinationEveryFrame
        
    
                    
                    If true, the agent's destination will be updated every frame instead of only when switching targets.
                        Public
                    
                Private/Protected Members
        
                Awake
        
                ()
    
                    
                    
                        Protected
                    
                
        
                OnUpgradeSerializedData
        
                (migrations, unityThread)
    
                    
                    Handle serialization backwards compatibility.
                        Protected
                    
                
        
                Reset
        
                ()
    
                    
                    Handle serialization backwards compatibility.
                        Protected
                    
                
        
                Update
        
                ()
    
                    
                    Update is called once per frame.
                        Private
                    
                
        
                UpgradeSerializedData
        
                (isUnityThread)
    
                    
                    
                        Protected
                    
                
        
                agent
        
    
                    
                    
                        Private
                    
                
        
                index
        
    
                    
                    Current target index.
                        Private
                    
                
        
                switchTime
        
    
                    
                    
                        Private