Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Game Score Not Updating in UI(Canvas)

Discussion in 'UGUI & TextMesh Pro' started by khushalyadavpune, Dec 3, 2020.

?

Game Score Not Updating in UI(Canvas)

  1. Game Score Not Updating in UI(Canvas) .

    0 vote(s)
    0.0%
  2. Game Score Not Updating in UI(Canvas) .

    0 vote(s)
    0.0%
  1. khushalyadavpune

    khushalyadavpune

    Joined:
    Nov 16, 2020
    Posts:
    5
    Game Score Not Updating in UI(Canvas) . tried everything . not showing error also. its 111 always
     

    Attached Files:

  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    I suggest to learn using
    Debug.Log
    And
    VS debugging tolls, using breakpoints.
    Other than that, screenshots are not very helpful, without knowing game objects structure, and where scripts are assigned too.

    Another thing, please next time use Code Tags.
    Using code tags properly

    You should cache at initialization, whatever you are using Find Game Object.