mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-09 23:23:44 +00:00
UI ups
This commit is contained in:
@@ -10,6 +10,10 @@ public class Scoreboard: MonoBehaviour
|
||||
public static Scoreboard Instance;
|
||||
public LevelObjective CurrentObjective;
|
||||
|
||||
public LevelObjective Stage1Objective;
|
||||
public LevelObjective Stage2Objective;
|
||||
public LevelObjective Stage3Objective;
|
||||
|
||||
public Dictionary<ProductType, Vector2Int> ProductCounts = new ();
|
||||
|
||||
public float _timeLeft;
|
||||
@@ -25,9 +29,21 @@ public class Scoreboard: MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void Start()
|
||||
public void StartStage(StagingManager.StageEnum stage)
|
||||
{
|
||||
SetObjective(CurrentObjective);
|
||||
switch (stage)
|
||||
{
|
||||
case StagingManager.StageEnum.Level1:
|
||||
SetObjective(Stage1Objective);
|
||||
break;
|
||||
case StagingManager.StageEnum.Level2:
|
||||
SetObjective(Stage2Objective);
|
||||
break;
|
||||
case StagingManager.StageEnum.Level3:
|
||||
SetObjective(Stage3Objective);
|
||||
break;
|
||||
}
|
||||
|
||||
UpdateText();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user