Search Unity

Unity UI Changing interactable flag renders a frame

Discussion in 'UGUI & TextMesh Pro' started by Good_Punk, Oct 11, 2018.

  1. Good_Punk

    Good_Punk

    Joined:
    Aug 6, 2014
    Posts:
    81
    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?