public void OpenStorage(PlayerCharacter player) { if (!string.IsNullOrEmpty(unique_id.unique_id)) { StoragePanel.Get(player.player_id).ShowStorage(player, unique_id.unique_id, storage_size); } else { Debug.LogError("You must generate the UID to use the storage feature."); } }
public bool IsBlockingPanelOpened() { return(StoragePanel.IsAnyVisible() || ReadPanel.IsAnyVisible() || pause_panel.IsVisible() || game_over_panel.IsVisible()); }