public void OnClick() { if (buttonScript.IsThisButtonCorrect()) { buttonScript.ButtonFound(); buttonScript.ChangeState(new ButonStateCorrect()); } else { LevelManager.Instance.LifeLost(); } }