mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 17:26:03 +08:00
16 lines
278 B
C#
16 lines
278 B
C#
using DG.Tweening;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using System.Collections;
|
|
|
|
public class Temp : BrainBase
|
|
{
|
|
public Transform target;
|
|
|
|
void Start()
|
|
{
|
|
for (int i = 0; i < 300; ++i) {
|
|
DOTween.Sequence().AppendInterval(3).Append(target.DOMoveX(1, 1));
|
|
}
|
|
}
|
|
} |