Hello! For my game that I'm recreating I have each generator that's unlocked have it's own "Buy" button underneath the generator.
Problem is when I use code to create the button instance in question and place it on the "Industries" layer, the button goes above everything.
I've provided some images that I hope helps it make it clearer what's going on and what I'm trying to do
Thanks!
#Created child instance isn't following layering or depth rules?
1 messages · Page 1 of 1 (latest)
depth and layer are the same duder, basically
so youre spawning it on whatever depth that layer is, then changing the depth
How do I adjust it then?
stop setting depth to 1
If I remove the IndustryBuyInstance.depth it goes behind the generator
that would be because that layer is
might make this way easier yeah
Works a treat, thanks 😄