Example #1
0
        public virtual void StartCooking(CookableProduct product)
        {
            currentProduct = product;
            cookingProcess = product.cookingTimeForProduct;

            m_Collider.enabled = false;
            StartCoroutine(Cooking());
        }
Example #2
0
 public virtual void ReadyToServe()
 {
     currentProduct     = null;
     m_Collider.enabled = true;
     DoDoorAnimationsIfNeeded();
 }
Example #3
0
 public override void StartCooking(CookableProduct product)
 {
     base.StartCooking(product);
     m_progressHelper.transform.position += progressHelperOffset;
 }