private void OnDotPressed(MelodyDot dot) { selectedDot = dot; Debug.Log("Dot Pressed: " + dot.name); FretEnterPanel.SetActive(true); EventSystem.current.SetSelectedGameObject(FretInput.gameObject, null); }
private void SetFretButtonPressed() { int fretNum = -1; bool didParse = int.TryParse(FretInput.text, out fretNum); if (didParse) { selectedDot.SetActive(true, fretNum); selectedDot = null; FretEnterPanel.SetActive(false); } }
private void OnDotDeleted(MelodyDot dot) { Debug.Log("Dot Deleted: " + dot.name); dot.SetActive(false); }
private void CancelFretButtonPressed() { selectedDot = null; FretEnterPanel.SetActive(false); }