private void SelectionButton_OnSelectionButton(bool enter, bool click, SelectionButton.Char affiliation) { if (enter) { StartCoroutine(HV()); } else { dVolume = .02f; onHoverSound.Source.volume = .1f; hoverVolume = .04f; hoverLerp = .005f; } if (click) { if (affiliation == SelectionButton.Char.O) { selectO.Source.Play(); } else { selectX.Source.Play(); } } }
private void Selection_OnSelectionButton(bool enter, bool click, SelectionButton.Char affiliation) { if (click) { selected = true; } }