Access parents other child from other other child

Id want so that I could acces Parent’s Child1’s script from Child2

Parent
  -Child1
  -Child2

I have this kind of line of script but it sadly doesnt work…

GameObject.Find("/transform.root/Weapon").GetComponent("WeaponGUI").WeaponGUI.Add110();

please help!

Hi,

try to use something like that.

Script on child02:

int indexOfChild = 0;
		
GameObject child01 = transform.parent.gameObject.transform.GetChild(indexOfChild).gameObject;
child01.GetComponent<...>()......