Skip to content

Use LateUpdate instead of Update #4

Description

@SXtheOne

Hi,

Just a note. I had problems when doing mechanim animation. The TMPro_Text was disabled and got enabled around the middle of the animation. Also, I constantly rotated the text throughout the animation (even when it was disabled). So, the problem was that I saw the unmodified text for the first frame when it got enabled. It was OK (curved and in a good position) from the next frame.
In your script, the curve modification is done in the Update method but I think it would be in a better place in the LateUpdate. I changed only this and the problematic frame disappeared most probably because the Curved script modifications were executed last.

Cheers,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions