change window wall mesh
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ public class Player : BaseCharacter
|
||||
{
|
||||
Destroy(_containerItem.gameObject);
|
||||
_containerItem = null;
|
||||
//OnContainerChanged.Invoke(this, false);
|
||||
OnContainerChanged.Invoke(this, false);
|
||||
}
|
||||
|
||||
public ContainerItem GetContainerItem()
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user