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