private void DrawPoint(IGUIState guiState, Control control, int index) { var position = GetPoint(index).position; if (guiState.hotControl == control.actionID && control.hotLayoutData.index == index || IsSelected(index)) { m_Drawer.DrawPointSelected(position); } else if (guiState.hotControl == 0 && guiState.nearestControl == control.ID && control.layoutData.index == index) { m_Drawer.DrawPointHovered(position); } else { m_Drawer.DrawPoint(position); } }
void IDrawer.DrawPointSelected(Vector3 position) { m_Drawer.DrawPointSelected(position); }