Finalized work
This commit is contained in:
@@ -103,7 +103,8 @@ namespace UI
|
||||
public GameObject eagleEye;
|
||||
public GameObject ramaSjangButton;
|
||||
public GameObject scrabBookButton;
|
||||
|
||||
public GameObject pauseButton;
|
||||
|
||||
[HideInInspector] public Image cinematicSprites;
|
||||
[HideInInspector] public Image cinematicBackgroundSprites;
|
||||
[HideInInspector] public GameObject currentCinematicPlayer;
|
||||
@@ -235,9 +236,12 @@ namespace UI
|
||||
case "Quarry":
|
||||
currentUIMode = UIMode.Puzzle;
|
||||
break;
|
||||
case "DivingForPictures" or "CardQualityControl" or "BirdPoop" or "StatueDecoration":
|
||||
case "DivingForPictures" or "CardQualityControl" or "BirdPoop":
|
||||
currentUIMode = UIMode.Minigame;
|
||||
break;
|
||||
case "StatueDecoration":
|
||||
currentUIMode = UIMode.HideAll;
|
||||
break;
|
||||
}
|
||||
|
||||
ShowAllHud();
|
||||
@@ -336,6 +340,10 @@ namespace UI
|
||||
}
|
||||
break;
|
||||
case UIMode.HideAll:
|
||||
eagleEye.SetActive(false);
|
||||
ramaSjangButton.SetActive(false);
|
||||
scrabBookButton.SetActive(false);
|
||||
pauseButton.SetActive(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user