8

looking a method or a Library for something like this:

GameObject nextBrotherNode= gameObject.transform.getNextSibling();
Zen Of Kursat
  • 2,672
  • 1
  • 31
  • 47

1 Answers1

14

You mean

int index = transform.GetSiblingIndex();
GameObject nextBrotherNode = transform.parent.GetChild(index + 1).gameObject;
Benjamin James Drury
  • 2,353
  • 1
  • 14
  • 27