Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity foreach child

foreach(Transform child in transform)
{
	print(child.gameObject.name)
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity change tag in script 
Csharp :: how to change scenes on collision unity 
Csharp :: c# sleep 
Csharp :: how to pause your game unity 
Csharp :: c# how to run external program 
Csharp :: Unity Make a 2D object look at the mouse position 
Csharp :: c# getasynckeystate mouse 
Csharp :: how to lerp in c# 
Csharp :: check if gameobject is active 
Csharp :: make winforms full-screen c# 
Csharp :: how to change the color of an object in unity c# 
Csharp :: how to call something once in update 
Csharp :: c# error messagebox 
Csharp :: check if process is open c# 
Csharp :: rigidbody2d freeze position 
Csharp :: print out a dictionary c# 
Csharp :: unity run void from another script 
Csharp :: c# how to check string is number 
Csharp :: c# convert Unix time in seconds to datetime 
Csharp :: unity C# catch index out or range exception 
Csharp :: setactive unity 
Csharp :: write to file c# 
Csharp :: unity disable cursor 
Csharp :: unity serializefield 
Csharp :: how to split and get last index values in c# 
Csharp :: sort a dictionary by value in c# 
Csharp :: wpf label text color rgb string 
Csharp :: c# download file 
Csharp :: Base64String to stream c# 
Csharp :: c# string to uri 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =