public RoomResFakeInfo GetRoomResInfoByABPath(string abPath)
        {
            RoomResFakeInfo result = null;

            if (this.FakeVersionInfos != null)
            {
                for (int i = 0; i < FakeVersionInfos.Length; i++)
                {
                    if (FakeVersionInfos[i].LocalABPath.ToLower().Equals(abPath.ToLower()))
                    {
                        result = FakeVersionInfos[i];
                        break;
                    }
                }
            }

            return(result);
        }
        static void GenerateHomeRoomABConfig()
        {
            List <RoomResFakeInfo> infos = new List <RoomResFakeInfo>();

            foreach (var baseInfo in HomeRoomConfigController.Instance.RoomFolderInfos)
            {
                foreach (string childFolder in HomeRoomConfigController.Instance.RoomChildFolders)
                {
                    infos.Add(new RoomResFakeInfo(baseInfo, childFolder));
                }
            }

            RoomResFakeInfo dmInfo = new RoomResFakeInfo();

            dmInfo.InInitialPacket = true;
            dmInfo.VersionCode     = HomeRoomConfigController.Instance.ResVersionCode;
            dmInfo.DownloadABPath  = string.Format("{0}/DummyMaterial/DummyMaterial.ab", HomeRoomConfigController.Instance.ResVersionCode);
            dmInfo.LocalABPath     = "DummyMaterial.ab";
            dmInfo.TargetPath      = string.Format("{0}/DummyMaterial/DummyMaterial.ab", HomeRoomConfigController.Instance.ResVersionCode);
            infos.Add(dmInfo);

            if (HomeRoomConfigController.Instance.UseCommonAnimator)
            {
                var animatorInfo = new RoomResFakeInfo();
                animatorInfo.InInitialPacket = true;
                animatorInfo.VersionCode     = HomeRoomConfigController.Instance.ResVersionCode;
                animatorInfo.DownloadABPath  = string.Format("{0}/Scene/Effect/Animator.ab", HomeRoomConfigController.Instance.ResVersionCode);
                animatorInfo.LocalABPath     = $"Scene/Effect/Animator.ab";
                animatorInfo.TargetPath      = string.Format("{0}/Scene/Effect/Animator.ab", HomeRoomConfigController.Instance.ResVersionCode);
                infos.Add(animatorInfo);
            }

            HomeRoomConfigController.Instance.FakeVersionInfos = infos.ToArray();
            AssetDatabase.Refresh();
            DebugUtil.LogError("共生成" + infos.Count.ToString() + "条");
            LoadRemoteVersionFile();
        }