Пример #1
0
 public void ToggleHasTarget()
 {
     manager.hasTarget = manager.hasTargetToggle.isOn;
     manager.targetValueField.gameObject.SetActive(manager.hasTargetToggle.isOn);
     PlayerPrefs.SetString(manager.hasTargetKey, manager.hasTargetToggle.isOn.ToString());
     manager.ApplyHasTarget();
 }