private void Update()
    {
        prologueCounter.DecrementTimer();
        PrologueHUD.SetTimerDisplayMessage(prologueCounter.ToString());

        if (atWork && GlobalFader.IsClear)
        {
            Debug.Log("Actively taking customers");
            CraftingManager.LockPlayerInCrafting(true);
            //ui display of customer at counter --> crafting ui
        }
    }
Exemplo n.º 2
0
 private void Awake()
 {
     if (prologueHud == null)
     {
         prologueHud = this;
         SetTimerDisplayTextMeshPro();
         timerDisplayMessage = "";
     }
     else
     {
         Destroy(this);
     }
 }