Пример #1
0
 void DrawToggle()
 {
     if (TTOptOut.NeedOptOut())
     {
         _mBtnOnObject.SetActive(false);
         _mBtnOffObject.SetActive(true);
     }
     else
     {
         _mBtnOnObject.SetActive(true);
         _mBtnOffObject.SetActive(false);
     }
 }
Пример #2
0
 public void OnClick()
 {
     TTOptOut.SetNeedOptOut(!TTOptOut.NeedOptOut());
     DrawToggle();
 }