Class GridGraphEditor Extends GraphEditor
    Public
    
    
    
    Public Methods
        
                GridGraphEditor
        
                ()
    
                
                
                    Public
                
            
        
                OnInspectorGUI
        
                (target)
    
                
                Override to implement graph inspectors.
                    Public
                
            
        
                OnSceneGUI
        
                (target)
    
                
                Override to implement scene GUI drawing for the graph.
                    Public
                
            Public Static Methods
        
                PivotPointSelector
        
                (pivot)
    
                
                
                    Public
                        Static
                
            
        
                RoundVector3
        
                (v)
    
                
                Rounds a vector's components to multiples of 0.5 (i.e 0.5, 1.0, 1.5, etc.) if very close to them.
                    Public
                        Static
                
            Public Variables
        
                collisionPreviewOpen
        
    
                
                
                    Public
                
            
        
                isMouseDown
        
    
                
                
                    Public
                
            
        
                locked
        
    
                
                
                    Public
                
            
        
                pivot
        
    
                
                
                    Public
                
            
        
                showExtra
        
    
                
                
                    Public
                
            Public Enums
        
                GridPivot
        
    
                
                
                    Public
                
            Inherited Public Members
        
                AutoScan
        
                ()
    
                
                Called by editor scripts to rescan the graphs e.g when the user moved a graph.
                    Public
                
            
        
                editor
        
    
                
                
                    Public
                
            
        
                fadeArea
        
    
                
                Stores if the graph is visible or not in the inspector.
                    Public
                
            
        
                FixLabel
        
                (label, buttonLabel=…, buttonWidth=40)
    
                
                Draws a small help box with a 'Fix' button to the right.
                    Public
                        Static
                
            
        
                infoFadeArea
        
    
                
                Stores if the graph info box is visible or not in the inspector.
                    Public
                
            
        
                ObjectField
        
                (label, obj, objType, allowSceneObjects, assetsMustBeInResourcesFolder)
    
                
                
                    Public
                        Static
                
            
        
                ObjectField
        
                (label, obj, objType, allowSceneObjects, assetsMustBeInResourcesFolder)
    
                
                
                    Public
                        Static
                
            
        
                OnBaseInspectorGUI
        
                (target)
    
                
                Draws common graph settings.
                    Public
                
            
        
                OnEnable
        
                ()
    
                
                
                    Public
                
            
        
                Separator
        
                ()
    
                
                Draws a thin separator line.
                    Public
                        Static
                
            
        
                ToggleGroup
        
                (label, value)
    
                
                Draws a toggle with a bold label to the right.
                    Public
                
            
        
                ToggleGroup
        
                (label, value)
    
                
                Draws a toggle with a bold label to the right.
                    Public
                        Static
                
            Private/Protected Members
        
                arcBuffer
        
    
                
                
                    Private
                
            
        
                DetermineGridType
        
                (graph)
    
                
                
                    Private
                
            
        
                Draw2DMode
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawArc
        
                (center, radius, startAngle, endAngle)
    
                
                
                    Private
                
            
        
                DrawCollisionPreview
        
                (collision)
    
                
                
                    Private
                
            
        
                DrawCutCorners
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawDashedLine
        
                (a, b, dashLength)
    
                
                
                    Private
                
            
        
                DrawErosion
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawFirstSection
        
                (graph)
    
                
                
                    Private
                
            
        
                DrawInspectorMode
        
                (graph)
    
                
                
                    Private
                
            
        
                DrawIsometricField
        
                (graph)
    
                
                
                    Private
                
            
        
                DrawJPS
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawLastSection
        
                (graph)
    
                
                
                    Private
                
            
        
                DrawLine
        
                (a, b)
    
                
                
                    Private
                
            
        
                DrawMaxClimb
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawMaxSlope
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawMiddleSection
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawNeighbours
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawPositionField
        
                (graph)
    
                
                
                    Private
                
            
        
                DrawRotationField
        
                (graph)
    
                
                
                    Private
                
            
        
                DrawRules
        
                (graph)
    
                
                
                    Protected
                
            
        
                DrawUse2DPhysics
        
                (collision)
    
                
                
                    Protected
                
            
        
                DrawWidthDepthFields
        
                (graph, newWidth, newDepth)
    
                
                
                    Private
                
            
        
                FindRuleEditors
        
                ()
    
                
                
                    Private
                        Static
                
            
        
                GetEditor
        
                (rule)
    
                
                
                    Private
                
            
        
                gridPivotSelectBackground
        
    
                
                Cached gui style.
                    Private
                        Static
                
            
        
                gridPivotSelectButton
        
    
                
                Cached gui style.
                    Private
                        Static
                
            
        
                handlePoints
        
    
                
                
                    Private
                        Static
                        Readonly
                
            
        
                hexagonSizeContents
        
    
                
                
                    Private
                
            
        
                interpolatedGridWidthInNodes
        
    
                
                
                    Private
                
            
        
                IsAdvanced
        
                (graph)
    
                
                
                    Private
                
            
        
                IsHexagonal
        
                (graph)
    
                
                
                    Private
                
            
        
                IsIsometric
        
                (graph)
    
                
                
                    Private
                
            
        
                lastTime
        
    
                
                
                    Private
                
            
        
                lineBuffer
        
    
                
                
                    Private
                
            
        
                lockStyle
        
    
                
                Cached gui style.
                    Private
                        Static
                
            
        
                NormalizedPivotPoint
        
                (graph, pivot)
    
                
                
                    Private
                        Static
                
            
        
                RoundUpToNextOddNumber
        
                (x)
    
                
                
                    Private
                        Static
                
            
        
                ruleEditorInstances
        
    
                
                
                    Private
                
            
        
                ruleEditors
        
    
                
                
                    Private
                        Static
                
            
        
                ruleHeaders
        
    
                
                
                    Private
                        Static
                
            
        
                ruleTypes
        
    
                
                
                    Private
                        Static
                
            
        
                savedDimensions
        
    
                
                
                    Private
                
            
        
                savedNodeSize
        
    
                
                
                    Private
                
            
        
                savedTransform
        
    
                
                
                    Private
                
            
        
                SaveReferenceTexture
        
                (graph)
    
                
                
                    Private
                        Static