Esempio n. 1
0
 protected IEnumerable <TransformUtils.ITransformDP> GetSubjectDescendants()
 {
     if (Application.isPlaying)
     {
         Debug.LogWarning("CollectSubjectDescendants called at runtime!");
     }
     if (Subject == null)
     {
         return(null);
     }
     return(TransformUtils.GetAllDescendantsWithPaths(
                Subject.transform.parent,
                Subject.transform,
                transform));
 }