public void init()
 {
     // get vertice type to move on
     this.vertType = this.GetComponent<AStar>().movementType;
 }
 public void init()
 {
     // get vertice type to move on
     this.vertType = this.GetComponent <AStar>().movementType;
 }