shapes2d icon indicating copy to clipboard operation
shapes2d copied to clipboard

SetPathWorldSegments() doesn't work properly after Instantiate() and before Start()

Open all-iver opened this issue 4 years ago • 0 comments

This is because Configure() gets called in Start(), so that won't have run yet and the rectTransform var won't be set up. A workaround should be to call Configure() manually after instantiating a UI object. This could conceivably affect other UI functions too if they rely on rectTransform.

all-iver avatar Jul 24 '21 02:07 all-iver