Example #1
0
 public LcNode(GraphCtrl grc, string name, Vector3 pt, LinkUse usetype, ref NodeRegion nodeRegion, string comment = "")
 {
     this.grc      = grc;
     this.name     = name;
     this.pt       = pt;
     this.usetype  = usetype;
     this.regid    = nodeRegion.regid;
     this.comment  = comment;
     regionStepIdx = nodeRegion.GetCurStepIdx();
     wegtos        = null;
     AstarInit();
 }