public void Play(UISkillButton parent) { //IL_009c: Unknown result type (might be due to invalid IL or missing references) isActive = true; if (obj != null) { obj.SetActive(true); } if (alpha != null) { alpha.ResetToBeginning(); alpha.PlayForward(); } if (scale != null) { scale.ResetToBeginning(); scale.PlayForward(); } if (work != null) { parent.StopCoroutine(work); } work = EndCheck(); parent.StartCoroutine(work); }
public void Init(UISkillButton parent) { if (work != null) { parent.StopCoroutine(work); work = null; } if (isActive) { isActive = false; if (obj != null) { obj.SetActive(false); } } }