Hello,
So basicly I want to access a child from the parent.
So I’m doing it like I always does, transform.Find(“ChildName”);
Right now I want to access a child called “Platform” and I want the parent (Street) to access it.
So in a script on Street I write transform.Find(“Platform”); and I find a match. However, this match is not the child I want. This match is another Platform, even though Street only got 1 child called Platform.
So I loop through all my children in Street to see which children I have. The result is two Platforms, even though the Hierarchy view only says one.
I attach an image to show whats up.
As you can see, the hierarchy view (the upper one) only got one Platform, but in the output log, I get two Platform, one with 0 children and one with 3.
What is causing this?