private void Update() { MoveButton.DoUpdate(interaction.CurrentToolState == HandsInteraction.ToolState.Move); RotateButton.DoUpdate(interaction.CurrentToolState == HandsInteraction.ToolState.Rotate); ScaleButton.DoUpdate(interaction.CurrentToolState == HandsInteraction.ToolState.Scale); PopulationButton.DoUpdate(interaction.CurrentVisualState == HandsInteraction.VisualState.Population, false); RiskButton.DoUpdate(interaction.CurrentVisualState == HandsInteraction.VisualState.Risk, interaction.CurrentVisualState == HandsInteraction.VisualState.Covid); COVIDButton.DoUpdate(interaction.CurrentVisualState == HandsInteraction.VisualState.Covid, false); }