Ejemplo n.º 1
0
 void Start()
 {
     m_SpriteRenderer       = GetComponent <SpriteRenderer>();
     m_CustomerSalad        = this.GetComponent <CustomerSaladGenerator>().GetCustomerSalad();
     m_TotalWaitingTime     = m_CustomerSalad.GetSize() * WaitingTimeForEachVeggie;
     CustomerSaladText.text = m_CustomerSalad.GetSaladStringFromSalad();
 }