public void OnDrawGizmosSelected() { Gizmos.color = _drawColor; var extents = _history[_historyIndex]; if (extents.Count > 0) { GizmoShapeDrawer.DrawByExtents(extents); Handles.Label(extents[0], _spaceName); } }
private void DrawBuilderBoundaries(ChunkBuilder builder) { Gizmos.color = Color.blue; GizmoShapeDrawer.DrawRectangle(builder.TopRightCorner, builder.BottomLeftCorner); }
private void DrawChunkBoundaries(Chunk chunk) { Gizmos.color = Color.white; GizmoShapeDrawer.DrawRectangle(chunk.TopRightCorner, chunk.BottomLeftCorner); }