1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 09:16:02 +08:00

18 lines
303 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);
}
}