예제 #1
0
 public void SetInOpenList(NativeArray <PathNode> pathNodes)
 {
     flags           |= PathNodeFlags.IsInOpenList;
     pathNodes[index] = this;
 }
예제 #2
0
 public void RemoveFromOpenList(NativeArray <PathNode> pathNodes)
 {
     flags           &= ~PathNodeFlags.IsInOpenList;
     pathNodes[index] = this;
 }
예제 #3
0
 public void SetIsWall(NativeArray <PathNode> pathNodes)
 {
     flags           |= PathNodeFlags.IsWall;
     pathNodes[index] = this;
 }