/// <summary> /// Called when the talent is clicked, updates the tooltip and selects the talent. /// </summary> void OnMouseDown() { TooltipTalente.tooltips.UpdateTooltip(talentId); GameControl.control.talente[talentId] = true; GameControl.control.talente[talentIdNeighourOne] = false; GameControl.control.talente[talentIdNeighbourTwo] = false; GameControl.control.talente[talentIdNeighbourThree] = false; manager.UpdateShaders(); }