/// <summary> /// Updates the value fields of the Enemy Treasure UI. /// </summary> private void UpdateUI() { m_AmountOfOwnMoney.text = GameManager.s_Singleton.Player.Person.AmountOfMoney.ToString(); m_AmountOfChestMoney.text = m_CurrentTreasure.AmountOfMoney.ToString(); m_Label.text = m_CurrentTreasure.GetRobAmount().ToString(); }