// MonoBehaviour's INTERFACE

    void Awake()
    {
        m_CharacterInput = GetComponent <tnCharacterInput>();

        m_Respawn  = GetComponent <tnRespawn>();
        m_Kick     = GetComponent <tnKick>();
        m_Kickable = GetComponent <tnKickable>();
    }
    // MonoBehaviour's interface

    private void Awake()
    {
        DontDestroyOnLoad(gameObject);

        if (m_CharacterStandardPrefab != null)
        {
            m_CharacterControllerComponent = m_CharacterStandardPrefab.GetComponent <tnCharacterController>();
            m_KickComponent = m_CharacterStandardPrefab.GetComponent <tnKick>();
        }
    }
    // MonoBehaviour's INTERFACE

    void Awake()
    {
        m_CharacterController = GetComponent <tnCharacterController>();
        m_Respawn             = GetComponent <tnRespawn>();

        m_Kick     = GetComponent <tnKick>();
        m_Kickable = GetComponent <tnKickable>();

        m_AttractContoller = GetComponent <tnAttract>();

        // Set sort order.

        sortOrder = BehaviourSortOrder.s_SortOrder_CharacterStats;
    }
    private void SetPlayerBehavioursEnabled(bool i_Enabled)
    {
        for (int index = 0; index < charactersCount; ++index)
        {
            GameObject character = GetCharacterByIndex(index);

            if (character == null)
            {
                continue;
            }

            tnCharacterController characterController = character.GetComponent <tnCharacterController>();
            if (characterController != null)
            {
                characterController.runSyncedUpdate = i_Enabled;
            }

            tnKick kick = character.GetComponent <tnKick>();
            if (kick != null)
            {
                kick.runSyncedUpdate = i_Enabled;
            }

            tnAttract attract = character.GetComponent <tnAttract>();
            if (attract != null)
            {
                attract.runSyncedUpdate = i_Enabled;
            }

            tnTaunt taunt = character.GetComponent <tnTaunt>();
            if (taunt != null)
            {
                taunt.runSyncedUpdate = i_Enabled;
            }

            tnSubbuteoController subbuteoController = character.GetComponent <tnSubbuteoController>();
            if (subbuteoController != null)
            {
                subbuteoController.runSyncedUpdate = i_Enabled;
            }
        }
    }