>>503
var a = GameObject.Find("A");
var b = GameObject.Find("B");
if (a!=null && b!=null && b.transform.IsChildOf(a.transform))
//;