private GridNodeData GetNodeData(int x, int y)
            {
                var idx = GridGraphUtilities.GetIndexByPosition(this.graphSize, new Vector3Int(y, 0, x));

                if (idx < 0 || idx >= this.arr.Length)
                {
                    return(default);
            private bool IsSuitable(int x, int y)
            {
                var idx = GridGraphUtilities.GetIndexByPosition(this.graphSize, new Vector3Int(y, 0, x));

                if (idx < 0 || idx >= this.arr.Length)
                {
                    return(false);
                }

                return(this.arr[idx].IsSuitable(this.burstConstraint, this.arr, this.graphSize, this.graphCenter));
            }
            private int GetIndex(int x, int y)
            {
                var idx = GridGraphUtilities.GetIndexByPosition(this.graphSize, new Vector3Int(y, 0, x));

                return(idx);
            }