public override void Enter() { SetSourcePosition(); RectTrans.position = sourcePosition; RectTrans.localScale = Vector3.zero; RectTrans.DOLocalMove(Vector3.zero, UIEffectTime.POP_FROM_UI); RectTrans.DOScale(1, UIEffectTime.POP_FROM_UI); }
public override void Enter() { SetSourcePosition(); RectTrans.position = sourcePosition; RectTrans.localScale = Vector3.zero; RectTrans.DOLocalMove(Vector3.zero, UIEffectTime.POP_FROM_UI); RectTrans.DOScale(1, UIEffectTime.POP_FROM_UI); }