public void OnPointerUp(PointerEventData data) { if (power.Status == Skill.STATUS.notUsed) { if (GameManager.TutorialMode) { TutorialManager.moveSkill = true; GetComponent <Button>().enabled = false; } SoundManager.Play("ButtonClick"); tempPoint = pointText.text; power.Execute(ref tempPoint); pointText.text = tempPoint; } }