Horje
unity dotween sequence Code Example
unity dotween sequence
// Grab a free Sequence to use
Sequence mySequence = DOTween.Sequence();
// Add a movement tween at the beginning
mySequence.Append(transform.DOMoveX(45, 1));
// Add a rotation tween as soon as the previous one is finished
mySequence.Append(transform.DORotate(new Vector3(0,180,0), 1));
// Delay the whole Sequence by 1 second
mySequence.PrependInterval(1);
// Insert a scale tween for the whole duration of the Sequence
mySequence.Insert(0, transform.DOScale(new Vector3(3,3,3), mySequence.Duration()));




Csharp

Related
c# substring until character single Code Example c# substring until character single Code Example
checkbox in c# Code Example checkbox in c# Code Example
cannot implicitly convert type 'void' to 'system.eventhandler' Code Example cannot implicitly convert type 'void' to 'system.eventhandler' Code Example
install nuget package for S3 Code Example install nuget package for S3 Code Example
how to turn components on and off in unity through code Code Example how to turn components on and off in unity through code Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
16