예제 #1
0
 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.");
     }
 }
예제 #2
0
 public bool IsBlockingPanelOpened()
 {
     return(StoragePanel.IsAnyVisible() || ReadPanel.IsAnyVisible() || pause_panel.IsVisible() || game_over_panel.IsVisible());
 }