Beispiel #1
0
        private void NotifyControlGroupsOfSubjectDescendants(
            IEnumerable <TransformUtils.ITransformDP> cached_subject_descendants_and_paths)
        {
            var groups = TransformUtils.GetComponentsInDescendants <TargetGroupBase>(transform, true)
                         .OfType <ITargetGroup>();

            foreach (var group in groups)
            {
                group.OnFindMatchingTargetsInDescendants(cached_subject_descendants_and_paths);
            }
        }
Beispiel #2
0
 private IEnumerable <ITargetGroup> GetAllTargetGroups()
 {
     return(TransformUtils.GetComponentsInDescendants <TargetGroupBase>(transform, true)
            .OfType <ITargetGroup>());
 }