Beispiel #1
0
    private void Start()
    {
        if (!m_currentViewedStats)
        {
            return;
        }

        if (m_healthBar)
        {
            m_healthBar.SetMaxLife(m_baseViewedStats.Life);
            m_healthBar.UpdateLife(m_currentViewedStats.Life);
        }

        UpdateBoatUI();
    }