Exemple #1
0
    public void OnPointerUp(PointerEventData eventData)
    {
        if (MorsecodeMachine.isMachineActive)
        {
            FindObjectOfType <AudioManager>().StopSound("Morsecode sound");
        }

        float holdDownTime = Time.time - holdDownStartTime;

        _morsecodeMachinePopup.KeyerOutput(holdDownTime);
    }
Exemple #2
0
    public void OnPointerUp(PointerEventData eventData)
    {
        float holdDownTime = Time.time - holdDownStartTime;

        _morsecodeMachinePopup.KeyerOutput(holdDownTime);
    }