- Home /
Question by
aayush_kumar · Aug 13, 2017 at 04:22 AM ·
disable object
Disabling prefabs in a row one by one sequentially when an animation is played?
I have a wall with 5*6 prefabs . I want to make a painting program with a 3d brush that has an animation of going up and down (covering a prefab at a time).
So, my problem is I cant figure out an optimized way of disabling the prefab from top to bottom one by one without having to assign each of the block a script (checking if the upper block is disabled and then disabling the current one) which is executed when animation is played.
Any help will be very much appreciated. Thanks in advance.
untitled.png
(13.6 kB)
Comment
Your answer
