player can enter the door
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user