Esempio n. 1
0
    void Start()
    {
        gameHelper    = FindObjectOfType <GameHelper>();
        benefitHelper = FindObjectOfType <BenefitHelper>();
        barHelper     = FindObjectOfType <BarHelper>();

        startHealth = barHelper.MonsterHealthUpdate(startHealth);
        benefitHelper.GoldMonsterUpdateFunction(startHealth);

        barHelper.HealtBar      = startHealth;
        barHelper.HealthBarText = startHealth;
    }