public override void ExecuteAction(IAvatar _avatar) { avatar = _avatar; inventoryBagCloseHandler.CreateAndPlay(GetComponent <AudioSource>().volume); Debug.Log("Closing inventory bag..."); avatar.CloseInventoryBag(); }
public void Close(IAvatar avatar) { avatar.CloseInventoryBag(); }