public DebugViewContext(NavmeshBuild build, TileSelection selection) { if (!build || selection == null) throw new System.ArgumentNullException(); mSelectionView = new SelectionDebugView(); mSelectionView.Enabled = true; mSelectionView.Show = true; mSelectionView.IncludeRootTile = true; mBuild = build; mSelection = selection; }
public DebugViewContext(NavmeshBuild build, TileSelection selection) { if (!build || selection == null) throw new System.ArgumentNullException(); mSelectionView = new SelectionDebugView(); mSelectionView.Enabled = true; mSelectionView.Show = true; mSelectionView.IncludeRootTile = true; mBuild = build; mSelection = selection; }