public void SetButtonText() { if (_labelManager != null) { GetComponentInChildren <Text>().text = _labelManager._labelsAreVisable ? "Hide Part Labels" : "Show Part Labels"; _labelManager.ToggelLabelVisability(); } }
public void SetButtonText() { if (_labelManager != null) { GetComponentInChildren <Text>().text = _labelManager._labelsAreVisable ? "Hide Part Labels" : "Show Part Labels"; _labelManager.ToggelLabelVisability(); } }