Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

get child of transform by index unity

transform.GetChild(int index);
Comment

get child index unity

Transform parent;

int index = transform.GetSiblingIndex(); // get the index of the child
GameObject Child = parent.GetChild(index); // get the child with its index
Comment

PREVIOUS NEXT
Code Example
Csharp :: convert.tostring with datetime string 
Csharp :: instantiate list c# 
Csharp :: unity vscode no autocomplete 
Csharp :: c# remove double quotes from string 
Csharp :: rotating an object in unity 
Csharp :: list removeall unity 
Csharp :: check if animation is playing unity 
Csharp :: c# console save file 
Csharp :: unity log warning 
Csharp :: c# string replace comma with newline 
Csharp :: const class in c sharp 
Csharp :: c# string remove 
Csharp :: change button color in script unity 
Csharp :: c# array to string 
Csharp :: c# winforms textbox select text 
Csharp :: selection sort in c# 
Csharp :: read all lines from txt c# 
Csharp :: how to see image from website in wpf 
Csharp :: c# byte 
Csharp :: how to pass string value to enum in c# 
Csharp :: get value from config file c# 
Csharp :: c# sort array of objects 
Csharp :: c# thread 
Csharp :: c# list audio devices 
Csharp :: roman to int 
Csharp :: unit test c# exception thrown 
Csharp :: build cs file 
Csharp :: How does works Unity interfaces 
Csharp :: hcf of numbers 
Csharp :: c# .net core memory cache 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =