mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
13 lines
224 B
C#
13 lines
224 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);
|
|
}
|
|
} |