You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unity UI Extensions Feature Request - Dynamic content before Start()/Awake()
I was having issues with the Accordion component loading correctly, especially in build.
This was due to dynamic content being added before the first frame. Adding the below to AccordionElement.cs fixed it for me:
private IEnumerator Start()
{
yield return null; // Wait for the first frame
OnValueChanged(this.isOn);
}
The text was updated successfully, but these errors were encountered:
That is a severe limitation for how the Unity UI system works sadly @jonathan-bryant , although I will add an action to look into being able to initialise the control with some input to possible enable this capability.
Unity UI Extensions Feature Request - Dynamic content before Start()/Awake()
I was having issues with the Accordion component loading correctly, especially in build.
This was due to dynamic content being added before the first frame. Adding the below to AccordionElement.cs fixed it for me:
The text was updated successfully, but these errors were encountered: