Пример #1
0
 public void SetStatusMessage()
 {
     if (mThirst <= 50)
     {
         mSpeachBubble.SetMessage("💧", new Color(0.5f, 0.7f, 0.2f));
     }
     else
     {
         mSpeachBubble.SetMessage("�", new Color(0.9f, 0.7f, 0f));
     }
 }
Пример #2
0
 public void SetStatusMessage()
 {
     if (mPot.GetPotState() == FlowerPot.PotState.EMPTY)
     {
         mSpeachBubble.SetMessage("💩", new Color(0.5f, 0.7f, 0.2f));
     }
     else
     {
         if (mPot.GetPotState() == FlowerPot.PotState.SUNFLOWER && mWater > WaterEmojiThreshhold)
         {
             mSpeachBubble.SetMessage("👍", new Color(0.9f, 0.7f, 0f));
         }
         else
         {
             mSpeachBubble.SetMessage("❗💧", new Color(1f, 0f, 0f));
         }
     }
 }