Skip to content

Commit

Permalink
Fixed bug from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rurre committed Feb 28, 2024
2 parents 5537666 + 95953d9 commit b555837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/Helpers/PumkinsHelperFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ public static Transform FindTransformInAnotherHierarchy(Transform trans, Transfo
nextTransform = nextTransform.parent;
}
while(nextTransform != null);
Debug.Log($"{(targetHierarchy == currentHierarchyRoot ? "our hierarchy" : "target hierarchy")}");

var childPath = GetTransformPath(trans, targetHierarchy);
var childTrans = otherHierarchyRoot.Find(childPath, createIfMissing, trans);

Expand Down

0 comments on commit b555837

Please sign in to comment.