Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Ego.Parent() not setting parent #7

Open
theBurningVoid opened this issue Mar 27, 2017 · 2 comments
Open

Ego.Parent() not setting parent #7

theBurningVoid opened this issue Mar 27, 2017 · 2 comments

Comments

@theBurningVoid
Copy link

the wiki insists that you use Ego.SetParent(this.transform, child.transform) instead of the standard child.transform.SetParent(this.transform) but Ego.SetParent(this.transform, child.transform) doesn't actually set the parent child relationship Unity world/hierarchy wise so you have to use both, not sure if this is error on the wiki or a bug in the code

@andoowhy
Copy link
Owner

Following your previous issue, EgoCS is not supported to run in the editor. Therefore, trying to change the Hierarchy with EgoCS at editor-time is also not supported.

@theBurningVoid
Copy link
Author

this time it was not during edit time, it was during play time in the editor (not sure if that makes a difference)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants