Search Unity

  1. 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
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

UI [resolved] Deactivated button stealing click event callback from active one

Discussion in '5.3 Beta' started by chrismarch, Dec 7, 2015.

  1. chrismarch


    Jul 24, 2013
    [Edit: never mind, there is a new issue with scene unloading]

    We have 2 buttons stacked on top of each other. One is always deactivated. In 5.1.1f1 we do this so that we can toggle the button appearance. In 5.3.0f2 we can get into a state where the deactivated button receives a click callback but the activated one does not. Was there an API change with events and deactivated objects?

    We deactivate the parent of the buttons, not the buttons themselves.
    Last edited: Dec 7, 2015