player can enter the door

This commit is contained in:
Vladimir Koshevarov
2023-03-06 18:54:13 +02:00
parent 667c9901b6
commit ac5dce3507
35 changed files with 29063 additions and 1193 deletions
@@ -11,7 +11,7 @@ public class ShopingContainer : BaseInteractableObject
{
if (!player.IsHoldContainerItem())
{
var transform = Instantiate(_containerSO.prefab, _playerArrivePoint);
var transform = Instantiate(_containerSO.prefab, _interactionPoint);
var containerItem = transform.GetComponent<ContainerItem>();
if (containerItem == null)
{