コード例 #1
0
        private void Reload()
        {
            var apps = _api.GetAppsCached();

            if (apps == null)
            {
                return;
            }

            var buildTargetName = EditorUserBuildSettings.activeBuildTarget.ToPatchKitString();

            _appViews = apps
                        .Where(app => !ShouldFilterByPlatform || (app.Platform == buildTargetName))
                        .Select(app => new Views.App(app))
                        .ToList();
        }