예제 #1
0
        // Token: 0x06002049 RID: 8265 RVA: 0x00097E00 File Offset: 0x00096000
        public void RefreshPath(Vector3 startVec, Vector3 endVec)
        {
            NodeGraph.PathRequest pathRequest = this.GeneratePathRequest(endVec);
            NodeGraph             nodeGraph   = this.GetNodeGraph();

            if (nodeGraph)
            {
                this.pendingPath = nodeGraph.ComputePath(pathRequest);
            }
        }
        // Token: 0x0600212F RID: 8495 RVA: 0x0008F564 File Offset: 0x0008D764
        public void RefreshPath(Vector3 startVec, Vector3 endVec)
        {
            this.lastRequestedPathStart = new Vector3?(startVec);
            this.lastRequestedPathEnd   = new Vector3?(endVec);
            NodeGraph.PathRequest pathRequest = this.GeneratePathRequest(endVec);
            NodeGraph             nodeGraph   = this.GetNodeGraph();

            if (nodeGraph)
            {
                this.pendingPath = nodeGraph.ComputePath(pathRequest);
            }
        }