| | |
| | | }; |
| | | //view.AddChidren(btnCollection); |
| | | //2020-12-16 如果是成员隐藏收藏功能 |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | view.AddChidren(btnCollection); |
| | | } |
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | //{ |
| | | // view.AddChidren(btnCollection); |
| | | //} |
| | | |
| | | LoadEvent_FunctionCollection(btnCollection, function); |
| | | if (//SPK.CurtainSpkList().Contains(function.spk)) |
| | |
| | | Width = Application.GetRealWidth(32), |
| | | UnSelectedImagePath = "Public/FuncInfoSetIcon_white.png", |
| | | }; |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | view.AddChidren(btnSettingIcon); |
| | | } |
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | //{ |
| | | // view.AddChidren(btnSettingIcon); |
| | | //} |
| | | |
| | | Button btnName; |
| | | btnName = new Button() |
| | |
| | | }; |
| | | //view.AddChidren(btnCollection); |
| | | //2020-12-16 如果是成员隐藏收藏功能 |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | view.AddChidren(btnCollection); |
| | | } |
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | //{ |
| | | // view.AddChidren(btnCollection); |
| | | //} |
| | | |
| | | LoadEvent_SceneCollection(btnCollection, scene); |
| | | |