unity deactive all object in list
public List<GameObject> childrens = new List<GameObject>();
void Update()
{
if(/* Something */)
{
foreach (var obj in childrens)
obj.SetActive(false);
}
}
Also in C#:
- Title
- navigate to another page with an object uwp c#
- Category
- C#
- Title
- order by C#
- Category
- C#
- Title
- change label text size wpf C#
- Category
- C#
- Title
- string to uint c#
- Category
- C#
- Title
- get number of sundays in a month c#
- Category
- C#
- Title
- how to stop a form c#
- Category
- C#
- Title
- unity random float
- Category
- C#
- Title
- c# get enum in list
- Category
- C#
- Title
- No IUserTwoFactorTokenProvider<TUser> named 'Default' is registered.'
- Category
- C#
- Title
- unity3d find y position on navmesh
- Category
- C#
- Title
- dontdestroyonload unity
- Category
- C#
- Title
- what data type should be for contact number in asp.net
- Category
- C#
- Title
- rotate object towards target rotation slowly unity
- Category
- C#
- Title
- dynamic group by expression C#
- Category
- C#
- Title
- display none asp.net
- Category
- C#
- Title
- C# colours
- Category
- C#
- Title
- winforms timer c#
- Category
- C#
- Title
- how consider the first caracter in Split c#
- Category
- C#
- Title
- set textbox colour to transparent c#
- Category
- C#
- Title
- unity3d debug pause
- Category
- C#
- Title
- x angle oes back after 90 unity
- Category
- C#
- Title
- define a vector c#
- Category
- C#
- Title
- check version of asp.net core
- Category
- C#
- Title
- c# get value of object in enum
- Category
- C#