コード例 #1
0
        public void DoStuff()
        {
            var doo = FsmConverter.GetPath(InputPath);

            doo.duration         = duration.Value;
            doo.heuristicScale   = heuristicScale.Value;
            doo.enabledTags      = enabledTags.Value;
            doo.radius           = radius.Value;
            doo.pathID           = (ushort)pathID.Value;
            doo.searchedNodes    = searchedNodes.Value;
            doo.searchIterations = searchIterations.Value;
            doo.speed            = speed.Value;
            doo.turnRadius       = turnRadius.Value;
            doo.recycled         = recycled.Value;
            nnConstraint.Value   = FsmConverter.SetNNConstraint(doo.nnConstraint);
            nodes.Value          = FsmConverter.SetNodes(doo.path);
            runData.Value        = FsmConverter.SetNodeRunData(doo.runData);
        }