void DrawToggle() { if (TTOptOut.NeedOptOut()) { _mBtnOnObject.SetActive(false); _mBtnOffObject.SetActive(true); } else { _mBtnOnObject.SetActive(true); _mBtnOffObject.SetActive(false); } }
public void OnClick() { TTOptOut.SetNeedOptOut(!TTOptOut.NeedOptOut()); DrawToggle(); }