Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Unity UI Changing interactable flag renders a frame

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by Good_Punk, Oct 11, 2018.

  1. Good_Punk

    Good_Punk

    Joined:
    Aug 6, 2014
    Posts:
    44
    I'm disabling a button in the Awake function of a script in a scene. When I load the scene the button is shown enabled (as part of the scene) for a single frame and then disabled afterwards. This causes a flicker on the button each time the scene is loaded which doesn't look very nice.

    Is there a way to fix that?