<commit_before>using System;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;

namespace ModestTree.Zenject
{
    // Helper class to manually fill in dependencies on given objects
    public static class InjectionHelper
    {
        // Inject dependencies into child game objects
        public static void InjectChildGameObjects(
            DiContainer container, GameObject gameObject)
        {
            InjectChildGameObjects(container, gameObject, Enumerable.Empty<object>());
        }

        public static void InjectChildGameObjects(
            DiContainer container, GameObject gameObject, IEnumerable<object> extraArgs)
        {
            foreach (var monoBehaviour in gameObject.GetComponentsInChildren<MonoBehaviour>())
            {
                InjectMonoBehaviour(container, monoBehaviour, extraArgs);
            }
        }

        public static void InjectGameObject(DiContainer container, GameObject gameObj)<commit_msg>Tweaked `InjectionHelper.InjectChildGameObjects` so that inactive behaviours are injected.<commit_after>using System;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;

namespace ModestTree.Zenject
{
    // Helper class to manually fill in dependencies on given objects
    public static class InjectionHelper
    {
        // Inject dependencies into child game objects
        public static void InjectChildGameObjects(
            DiContainer container, GameObject gameObject)
        {
            InjectChildGameObjects(container, gameObject, Enumerable.Empty<object>());
        }

        public static void InjectChildGameObjects(
            DiContainer container, GameObject gameObject, IEnumerable<object> extraArgs)
        {
            foreach (var monoBehaviour in gameObject.GetComponentsInChildren<MonoBehaviour>(true))
            {
                InjectMonoBehaviour(container, monoBehaviour, extraArgs);
            }
        }

        public static void InjectGameObject(DiContainer container, GameObject gameObj)
{'fraction_non_alphanumeric': 0.057985257985257985, 'fraction_numerical': 0.0, 'mean_word_length': 2.9610894941634243, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5452520', 'n_tokens_mistral': 497, 'n_tokens_neox': 477, 'n_words': 138}