public void MoveVsBG() { if (setting.cutStartAnimation) { vsObj[0].SetActive(false); characterController.ShowCharacter(true); characterController.ChangeIdleSprite(); GameManager.instance.PrepareGame(); return; } for (int i = 0; i < 2; i++) { //vsBGObj[i].transform.position = vsBGObjPosition[i]; vsBGObj[i].SetActive(true); fireEffectObj[i].SetActive(true); } DOVirtual.DelayedCall(1, () => { vsBGObj[0].transform.DOMove(cookingFieldTransform[0].position, 0.3f).OnComplete(() => { fireEffectObj[0].transform.localPosition = new Vector2(0f, fireEffectObj[0].transform.localPosition.y); }); vsBGObj[1].transform.DOMove(cookingFieldTransform[1].position, 0.3f).OnComplete(() => { fireEffectObj[1].transform.localPosition = new Vector2(0f, fireEffectObj[1].transform.localPosition.y); ScaleVsText(); //SE BattleSoundManager.instance.StartSE(); BattleSoundManager.instance.FireSE(); }); }); }