Esempio n. 1
0
    private void Update()
    {
        controllerUpdate();

        if (m_healthBar)
        {
            m_healthBar.setHealthPercentage(m_movingAgent.getHealthPercentage());
        }
    }
 void Update()
 {
     updateSelfAgentFromInput();
     m_healthBar.setHealthPercentage(m_selfAgent.getHealthPercentage());
 }