Esempio n. 1
0
    private void StopChanneling()
    {
        if (_runningThread != null)
        {
            StopCoroutine(_runningThread);
        }
        _runningThread = null;
        _interaction.Cancel();

        state = InteractionStates.INTERACTABLE;
        if (_animator != null)
        {
            _animator.Rebind();
        }

        SetText(0, "Interact");
        SetText(1, "Interact");
    }