Skip to content

Conversation

@bezoro
Copy link
Contributor

@bezoro bezoro commented May 1, 2020

Unity complains about setting a GameObject's parent directly if the GO has a RectTransform instead of normal Transform.
Using SetParent() the warning is gone while keeping the behaviour the same.

Unity complains about setting a GameObject's parent directly if the GO has a RectTransform instead of normal Transform.
Using SetParent() the warning is gone while keeping the behaviour the same.
@xsduan xsduan merged commit b11ea17 into xsduan:master May 2, 2020
@bezoro bezoro deleted the patch-1 branch May 2, 2020 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants