Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
 protected override void OnSetActive(Object target)
 {
     base.OnSetActive(target);
     Notice(CoodinateUtil.GetCoordinate(targetHolder));
 }