mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
16 lines
342 B
C#
16 lines
342 B
C#
using DG.Tweening;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using System.Collections;
|
|
|
|
public class Temp : BrainBase
|
|
{
|
|
public Transform target;
|
|
|
|
void Start()
|
|
{
|
|
target.DOMoveX(2,1)
|
|
.OnUpdate(()=> Debug.Log(DOTween.IsTweening(target)))
|
|
.OnComplete(()=> Debug.Log(DOTween.IsTweening(target)));
|
|
}
|
|
} |