Exemple #1
0
    public void DropObject()
    {
        _holdableObject.StopHold();
        _holdableObject = null;

        AudioManager.Instance.PlaySound(gameObject, _dropSound);

        HoldEnd?.Invoke();
    }
Exemple #2
0
 private void OnHoldEnd(HoldInfo holdInfo)
 {
     HoldEnd?.Invoke(holdInfo);
 }