change window wall mesh

This commit is contained in:
Vova
2024-04-28 14:21:30 +03:00
parent 567fc7a1c2
commit 38f8b297f2
10 changed files with 97 additions and 93 deletions
+2
View File
@@ -56,6 +56,8 @@ public abstract class BaseCharacter : MonoBehaviour
_currentTask.UpdateStatus(MoveToPoint());
break;
case Tasks.Interact:
_currentTask.UpdateStatus(TaskStatus.Waiting);
_currentTask.UpdateStatus(_currentTask.TagretObject.Interact());
break;
}
+1 -1
View File
@@ -130,7 +130,7 @@ public class Player : BaseCharacter
{
Destroy(_containerItem.gameObject);
_containerItem = null;
//OnContainerChanged.Invoke(this, false);
OnContainerChanged.Invoke(this, false);
}
public ContainerItem GetContainerItem()
+3 -2
View File
@@ -33,8 +33,9 @@ public class UIContainer : MonoBehaviour
else
{
_container.gameObject.SetActive(false);
_playerContainer.OnItemsChange -= OnItemsChange;
_playerContainer = null;
Destroy(_playerContainer);
//_playerContainer.OnItemsChange -= OnItemsChange;
//_playerContainer = null;
}
}