void Start() { onClicked = false; TUTField.SetActive(false); TUTField2.SetActive(false); TUTBack.SetActive(false); }
public void OnClick() { if (TUTField2.activeInHierarchy && TUTField.activeInHierarchy) { TUTField2.SetActive(false); } else if (!TUTField2.activeInHierarchy && TUTField.activeInHierarchy) { TUTField.SetActive(false); } }