void updateUi(LGameStructure.CharacterData data)
    {
        m_CoinText.text = GameManager.formatCoinValue(data.coin);

        m_CurrentLiveText.text        = data.shieldPercent.ToString();
        m_CurrentLiveImage.fillAmount = data.shieldPercent;
        m_HealthText.text             = data.healthPercent.ToString();
        m_HealthImage.fillAmount      = data.healthPercent;
    }
 public void OnCharacterDataChanged(GameManager sender, LGameStructure.CharacterData data)
 {
     updateUi(data);
 }