Replies: 2 comments 2 replies
-
I'm doing smth like this, and before calling the private static void CloseStorageAndNotifyClient(InteractableStorage storage)
{
if (storage.isOpen)
{
if (storage.opener != null)
{
if (storage.opener.inventory.isStoring)
{
storage.opener.inventory.closeStorageAndNotifyClient();
}
storage.opener = null;
}
storage.isOpen = !storage.isOpen;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
The player at this point has his Inventory closed, because he must play the Point animation on the object |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The storage has a clear() function that simply calls Clear on the array, items from the storage are gone but the space is taken up on the client side, how do I update the data on the storage?
Beta Was this translation helpful? Give feedback.
All reactions