public void ShowShop(ShopInteractable shopInteractable, List <SellableItem> selectedItems) { sellableItems = selectedItems; this.shopInteractable = shopInteractable; shop.SetActive(true); selectedItems.ForEach(CreateItemDisplay); }
private IEnumerator StartTutorialCoroutine() { TutorialFlowchartManager.instance.StartIntroduction(); if (GameManager.FadeIn != null) { GameManager.FadeIn(); } DetergentManager.instance.CurrentAmount = 0; PlayerController.instance.transform.position = playerSpawnPoint.position; shop = FindObjectOfType <ShopInteractable>(); LockAllWorkstations(); //Start the first dialog TutorialFlowchartManager.instance.StartIntroduction(); yield return(null); }