1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 17:26:03 +08:00

25 lines
552 B
C#

using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Temp : BrainBase
{
public Transform target;
IEnumerator Start()
{
yield return new WaitForSeconds(0.6f);
while (true) {
if (Time.frameCount % 10 == 0) {
// Spawn empty sequences
for (int i = 0; i < 200; ++i) {
Sequence s = DOTween.Sequence();
}
yield return null;
}
yield return null;
}
}
}