| | |
| | | UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
|
| | | IsSelected = function.collect
|
| | | };
|
| | | //controlView.AddChidren(btnCollection);
|
| | | controlView.AddChidren(btnCollection);
|
| | | //2020-12-16 如果是成员隐藏收藏功能
|
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
|
| | | //{
|
| | |
| | | IsProgressTextShow = false,
|
| | | };
|
| | | controlView.AddChidren(dimmerBar);
|
| | | if (function.trait_on_off.curValue.ToString() == "on")
|
| | | if (function.trait_on_off.state.ToString() == "on")
|
| | | {
|
| | | dimmerBar.SetProgressBarColors(CSS_Color.AuxiliaryColor1, CSS_Color.AuxiliaryColor1);
|
| | | }
|
| | |
| | | Height = Application.GetRealWidth(32),
|
| | | UnSelectedImagePath = "Public/PowerClose.png",
|
| | | SelectedImagePath = "Public/PowerOpen.png",
|
| | | IsSelected = function.trait_on_off.curValue.ToString() == "on",
|
| | | IsSelected = function.trait_on_off.state.ToString() == "on",
|
| | | };
|
| | | controlView.AddChidren(btnSwitch);
|
| | |
|