public static void TryEndExperiment(string source)
    {
        if (source == "collect")
        {
            instance.m_CollectEnd = true;
        }
        if (source == "spatial")
        {
            instance.m_SpatialEnd = true;
        }

        if (instance.m_CollectEnd && instance.m_SpatialEnd)
        {
            ExperimentManager.EndExperiment();
        }
    }