Esempio n. 1
0
 // Token: 0x06000982 RID: 2434 RVA: 0x00042E90 File Offset: 0x00041290
 public static bool IsAncestor(Transform transform, Transform ancestor)
 {
     return(transform == null || ancestor == null || (!(transform.parent == null) && (transform.parent == ancestor || Hierarchy.IsAncestor(transform.parent, ancestor))));
 }