Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DOTweenでオブジェクトをシーケンシャルに動かす
using UnityEngine;
using DG.Tweening;
public class SequenceSample : MonoBehaviour {
public GameObject cubeGroup;
void Start () {
Sequence sequence = DOTween.Sequence()
.Append(cubeGroup.transform.DOMoveY(1,1))
.Append(cubeGroup.transform.GetChild(1).DORotate(new Vector3(180f,0f),0.5f));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.