protected override void OnSetInActive(UnityEngine.Object target) { base.OnSetInActive(target); UnNotice(CoodinateUtil.GetCoordinate(targetHolder)); if (coroutine != null) { coroutineCtrl.StopCoroutine(coroutine); coroutine = null; } if (OperateAble) { transform.position = startPos; } else { transform.localPosition = targetPos; } }
protected override void OnSetActive(Object target) { base.OnSetActive(target); Notice(CoodinateUtil.GetCoordinate(targetHolder)); }