Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Button problem on my first game

Discussion in 'Editor & General Support' started by tiago7727, Aug 24, 2015.

  1. tiago7727

    tiago7727

    Joined:
    Aug 24, 2015
    Posts:
    12
    Hello guys,
    Im new to unity and i seem to be having a problem: i decided to make a idler game and watched a tutorial but i have a problem that i cant fix. The text in the upgrade buttons doesnt change even if i attached the function to make it display the name,cost,and power.
    I took screenshots of the problem and could really use your help
    CAM00231.jpg
     
  2. Peecha

    Peecha

    Joined:
    Dec 2, 2013
    Posts:
    22
    Upgrademanager.cs
    row 14. update function should have uppercase U
     
    Connor_Epic likes this.
  3. Connor_Epic

    Connor_Epic

    Joined:
    Jun 30, 2015
    Posts:
    3
    This is it.
     
  4. tiago7727

    tiago7727

    Joined:
    Aug 24, 2015
    Posts:
    12
    OMG i feel so dumn XD thanks