Hello,If I open My inventory grid panel and close it, after that when I click Take All button, the inventory grid panel open automatically.
I don't know why, all details in this video:
(Cancel button also get same result.)
I remember in last post, Mr Sangemdoko said:
But in this case, I'm not use SmartOpen. And I have been change the code to close(false) like this:
public virtual void SmartClose()
{
Close(false);
}
It's not working for me.
So I change the ChestMenu.cs and set all close function to Close(false) like;
/// <summary>
/// Handle the cancel button being clicked.
/// </summary>
protected virtual void CancelButtonClicked()
{
m_DisplayPanel.Close(false);
}
now it looks working fine.
but I'm not sure this is finally solution.
Thanks.
I don't know why, all details in this video:
(Cancel button also get same result.)
I remember in last post, Mr Sangemdoko said:
1. For the panels, that's a pretty common issue. By default when you close a panel it will open the "previous" panel. That's very useful when nesting panels, but no so much for floating panels how you have it.
Rather than calling the "SmartOpen" function when pressing the Inventory button, call the "Open" function
But in this case, I'm not use SmartOpen. And I have been change the code to close(false) like this:
public virtual void SmartClose()
{
Close(false);
}
It's not working for me.
So I change the ChestMenu.cs and set all close function to Close(false) like;
/// <summary>
/// Handle the cancel button being clicked.
/// </summary>
protected virtual void CancelButtonClicked()
{
m_DisplayPanel.Close(false);
}
now it looks working fine.
but I'm not sure this is finally solution.
Thanks.
Last edited: