Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }