| | |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/AddIcon.png", |
| | | }; |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | { |
| | | topView.AddChidren(btnAddIconBg); |
| | | } |
| | |
| | | Width = Application.GetMinRealAverage(28+30), |
| | | Height = Application.GetMinRealAverage(28+29), |
| | | }; |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | { |
| | | topView.AddChidren(btnAddIcon); |
| | | } |
| | |
| | | Width = Application.GetRealWidth(32), |
| | | UnSelectedImagePath = "Public/FuncInfoSetIcon_white.png", |
| | | }; |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | if (scene.userId == UserInfo.Current.ID) |
| | | { |
| | | view.AddChidren(btnSettingIcon); |
| | | } |