internal void Reset(List <LoaderInfo> loaderInfos, XRCuratedPackages curatedInfo, List <LoaderInfo> loadersInUse, SerializedProperty loaderProperty)
        {
            m_LoaderProperty = loaderProperty;
            m_CuratedLoaders = curatedInfo;

            m_LoadersInUse = loadersInUse;
            m_LoadersNotInUse.Clear();

            foreach (var info in loaderInfos)
            {
                if (!m_LoadersInUse.Contains(info))
                {
                    m_LoadersNotInUse.Add(info);
                }
            }

            DownloadDefferedLoad();

            m_ShouldReload = true;
        }
Exemple #2
0
 public LoaderOrderUI(List <LoaderInfo> loaderInfos, XRCuratedPackages curatedPackages, List <LoaderInfo> loadersInUse, SerializedProperty loaderProperty, Action onUpdate)
 {
     Reset(loaderInfos, curatedPackages, loadersInUse, loaderProperty, onUpdate);
 }