public void SetAutoPlaySelf() { currentAutoPlaySetting = autoPlaySelf; if (UIManager.Instance.semiAutoPlayToggle.isOn) { UIManager.Instance.autoPlayToggle.isOn = false; UIManager.Instance.autoPlayToggle.interactable = false; } else { UIManager.Instance.autoPlayToggle.isOn = false; UIManager.Instance.autoPlayToggle.interactable = true; } }
public void SetAutoPlaySelf() { currentAutoPlaySetting = autoPlaySelf; if (UIManager.Instance.semiAutoPlayToggle.isOn) { UIManager.Instance.autoPlayToggle.isOn = false; UIManager.Instance.autoPlayToggle.interactable = false; //UIManager.Instance.autoPlayToggle.gameObject.SetActive(false); } else { UIManager.Instance.autoPlayToggle.isOn = false; UIManager.Instance.autoPlayToggle.interactable = true; //UIManager.Instance.autoPlayToggle.gameObject.SetActive(true); } }