Randomly sort siblings
You can randomly sort siblings through:
Transform.SetSiblingIndex
For:
void Start (){
Transform.SetSiblingIndex(Random.Range(0, 17));
}
In order to randomise 18 children items when initiated. Is there an easier method?
Comment
Your answer
Follow this Question
Related Questions
My project's UI keeps resizing itself and I have no idea why. 0 Answers
button doesn't work 0 Answers
UI GameObject (Button prefab) randomly changing Z axis RectTransform when instantiated 1 Answer
Adding a single colored 2d panel in a 3d game 2 Answers
Horizontal Layout doesn't align to center if I disable images 0 Answers