Ejemplo n.º 1
0
 private void SetResult()
 {
     _food = NewCookData.GetFood(MaterialList);
     if (_food != null)
     {
         ResultNameLabel.text    = _food.Name;
         ResultCommentLabel.text = _food.Comment;
         MakeButton.gameObject.SetActive(true);
     }
     else
     {
         ResultNameLabel.text    = string.Empty;
         ResultCommentLabel.text = string.Empty;
         MakeButton.gameObject.SetActive(false);
     }
 }