Question by
Vanderley5974 · Jul 29, 2021 at 12:55 PM ·
gameobjectcanvasgameobjects
Keep UI object disabled unless it's inside canvas
Hi! I have a rhythm game i'm working on which uses the canvas for the arrows and charting As it is right now the system that works is: It'll spawn all the UI arrows at the same time at the very start of the level and move them up correctly and at the right placements according to the BPM and timing of the song I was wondering if there's a way to only enable the arrow GameObjects the player needs to hit once it's inside the canvas, and then re-disable them once it's outside? It would really help out and save on performance
I'm sure there's an easy solution to this but i'm probably not thinking right since i'm tired
Thanks!
example.png
(36.8 kB)
Comment