1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 17:26:03 +08:00
Daniele Giardini ec1756130a - Fixed issues with looping tweens and super-tiny durations
- Allowed DOVirtual.DelayedCall to be set in a loop
2015-03-25 10:32:36 +01:00

26 lines
501 B
C#

using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using DG.Tweening.Plugins;
using DG.Tweening.Plugins.Core;
using DG.Tweening.Plugins.Options;
using System;
public class TempTests : BrainBase
{
public Transform target;
public Vector3[] waypoints;
IEnumerator Start()
{
yield return new WaitForSeconds(0.6f);
Tween t = target.DOPath(waypoints, 5);
yield return null;
yield return null;
t.GotoWaypoint(2);
}
}