public void ShowTrade(bool show) { if (show) { tradePanel.Show(state); } tradePanel.gameObject.SetActive(show); }