protected override void Awake() { base.Awake(); awakeDone = true; ShowTween.Kill(); Img.transform.localScale = setImgSize; Img.SetAlpha(0); ShowTween = DOTween.Sequence().SetAutoKill(false).Pause() .Append(Img.DOFade(1, 0.2f)) .Join(this.transform.DOPunchScale(Vector3.one * 0.4f * TutorialUI.GetCameraBasedScaleMultiplier(this.transform.position), 0.4f, 10, 0)) .Join(this.transform.DOPunchRotation(new Vector3(0, 0, 30), 0.4f)) .Append(Img.transform.DOLocalRotate(new Vector3(0, 0, -10), 0.7f).SetEase(Ease.Linear)) .Insert(0.8f, this.transform.DOScale(0.0001f, 0.3f).SetEase(Ease.InBack)) .OnComplete(() => { this.gameObject.SetActive(false); this.transform.parent = DefParent; }); }