- Home /
This question was
closed Mar 08 at 09:55 AM by
thivyravi2 for the following reason:
Other
Array SetActive C# Unity
Hello :)
I want to create a room with chairs adjusted to a number of participants. For this I created an array and set the parent folder to SetActive
false. Depending on the number of participants entered, the chairs should then be loaded in.
Comment
Answer by sacredgeometry · Mar 08 at 08:31 AM
Use a loop to iterate over the array and SetActive on just the GameObjects you need to.