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

Animated menus

Discussion in 'UGUI & TextMesh Pro' started by Enki, Sep 4, 2014.

  1. Enki

    Enki

    Joined:
    Jun 2, 2013
    Posts:
    20
    Currently, I am using either enable or SetActive() to hide some buttons as needed (ie during a pause menu). If I instead use the animator to fade them out, would they still exist in that the 'hot spots' were still active?
     
  2. secondbreakfast

    secondbreakfast

    Joined:
    Jan 5, 2013
    Posts:
    98
    Use a canvas group for the alpha and turn off interactive and block events when it is hidden and it won't receive any button clicks
     
    Tim-C likes this.