Hi!
Help me please, i have
`GameObject [] arrayItems;`
How to deactivate and activate all items in
arrayItems
script c#
Hi!
Help me please, i have
`GameObject [] arrayItems;`
How to deactivate and activate all items in
arrayItems
script c#
foreach (GameObject obj in arrayItems)
{
obj.active = true;
}
this would activate all gameobjects in the array.
Did not test though, check if you have any problem with this, leave a comment.