| | |
| | | btnPower.IsSelected = false; |
| | | Music.SendMethod.Pause(a31player); |
| | | a31player.A31PlayStatus.status = "pause"; |
| | | a31player.trait_on_off.curValue = "off"; |
| | | a31player.trait_on_off.state = "off"; |
| | | } |
| | | else |
| | | { |
| | | btnPower.IsSelected = true; |
| | | Music.SendMethod.Play(a31player); |
| | | a31player.A31PlayStatus.status = "play"; |
| | | a31player.trait_on_off.curValue = "on"; |
| | | a31player.trait_on_off.state = "on"; |
| | | } |
| | | UpdataFunctionStates(a31player); |
| | | }; |
| | |
| | | Width = Application.GetRealWidth(32), |
| | | UnSelectedImagePath = "Public/FuncInfoSetIcon_white.png", |
| | | }; |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | if (scene.userId == UserInfo.Current.ID) |
| | | { |
| | | view.AddChidren(btnSettingIcon); |
| | | } |