private void OnHiderClick() { HiderButton.NextState(); if (HiderButton.CurrentState == 0) { targetContentHideHeight = 0f; } else { targetContentHideHeight = Mathf.Min(512f, CategoryContainer.rectTransform().rect.height); } }
private void OnClickDontShowAgain() { dontShowAgainButton.NextState(); KPlayerPrefs.SetInt("HideTutorial_CheckState", (dontShowAgainButton.CurrentState == 0) ? 1 : 0); }
private void OnClick() { toggle.NextState(); content.SetActive(toggle.CurrentState == 0); }