- Home /
Duplicating Transforms
Hello,
My 2D character snaps to position on the ledge by coming into contact with a layermask named 'SnapCheck' which works pretty well.
The problem is when I drag the snapCheck(transform) onto the character as part of the script in the inspector, Unity only sees that one transform, even if there are duplications of it.
So when I click on the transform in the characters script it highlights in yellow in the hierarchy. How do I get it so that when I click on the transform it will highlight all of my snapCheck(transforms) in yellow?
Can someone help me with this please?
Your answer
![](https://koobas.hobune.stream/wayback/20220613143101im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is it possible to allow a raycast to pass through a collider to hit things behind it? 6 Answers
Return Objects hit by raycast, check against a array of all objects? 1 Answer
Best way to set a GameObject layer programmatically? 2 Answers
Get LayerMask that current GameObject collides with? 1 Answer
Ignore one layermask question 1 Answer