Search Unity

  1. Click here to receive a gift with your purchase of Unity Pro or Unity Enterprise.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Animating PopUp with TMP Text bug

Discussion in 'UGUI & TextMesh Pro' started by Martin_Gonzalez, Jun 23, 2020.

  1. Martin_Gonzalez

    Martin_Gonzalez

    Joined:
    Mar 25, 2012
    Posts:
    336
    I'm animating with Animator a simple gameObject that works as a PopUp, inside has a title and description and buttons and seems not be updating the font texture. [Gif attached]

    This is the simple code I use to open it.

    Code (CSharp):
    1.        public void Open()
    2.         {
    3.             gameObject.SetActive(true);
    4.             _animator.Play(animationInName);
    5.         }
    I've also tried using a Canvas, enabling it and disabling it instead of setting active or not the gameObject and it keeps the same behaviour
     

    Attached Files:

unityunity