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

23 lines
353 B
C#

using UnityEngine;
using System.Collections;
using DG.Tweening;
public class TempPro : MonoBehaviour
{
public DOTweenAnimation anime;
void Update()
{
if (Input.GetKeyDown(KeyCode.Space)) anime.DORestart(true);
}
public void OnCreated()
{
Debug.Log("Tween created > " + anime.tween);
}
public void Output()
{
Debug.Log("HERE");
}
}