using UnityEngine;
using UnityEngine.UI;

public class Life : MonoBehaviour
{
    [SerializeField]
    private Text m_text;
    [SerializeField]
    private PlayerController m_player;

    #region Unity Callback
    // Update is called once per frame
    protected void Update()
    {
        m_text.text = m_player.LifePoint + " x";
    }
    #endregion
}
