Beispiel #1
0
    private void OnPathReceived(Path path)
    {
        if (!behaviours.Contains(PathFollow.GetInstance()))
        {
            behaviours.Add(PathFollow.GetInstance());
        }

        requestSend = false;
        this.path   = path;
        this.path.Simplify();
        this.path.SmoothQuick();
    }
Beispiel #2
0
 public void PathFollowOff()
 {
     behaviours.Remove(PathFollow.GetInstance());
 }