protected GraphNode(AstarPath astar) { if (object.ReferenceEquals(astar, null)) { throw new Exception("No active AstarPath object to bind to"); } this.nodeIndex = astar.GetNewNodeIndex(); astar.InitializeNode(this); }
// Token: 0x06002349 RID: 9033 RVA: 0x001945AB File Offset: 0x001927AB protected GraphNode(AstarPath astar) { if (astar != null) { this.nodeIndex = astar.GetNewNodeIndex(); astar.InitializeNode(this); return; } throw new Exception("No active AstarPath object to bind to"); }
// End of fallback /** Constructor for a graph node. */ public GraphNode(AstarPath astar) { if (!System.Object.ReferenceEquals(astar, null)) { this.nodeIndex = astar.GetNewNodeIndex(); astar.InitializeNode(this); } else { throw new System.Exception("No active AstarPath object to bind to"); } }
// End of fallback /** Constructor for a graph node. */ public GraphNode(AstarPath astar) { //this.nodeIndex = NextNodeIndex++; if (astar != null) { this.nodeIndex = astar.GetNewNodeIndex(); astar.InitializeNode(this); } else { throw new System.Exception("No active AstarPath object to bind to"); } }
public TriangleMeshNode(AstarPath astar) { astar.InitializeNode(this); }
public GridNode(AstarPath astar) { astar.InitializeNode(this); }
public NodeLink3Node(AstarPath astar) { astar.InitializeNode(this); }
public PointNode(AstarPath astar) { astar.InitializeNode(this); }