mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 17:26:03 +08:00
18 lines
337 B
C#
18 lines
337 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DG.Tweening;
|
|
|
|
public class TempPro : MonoBehaviour
|
|
{
|
|
public DOTweenPath path;
|
|
|
|
IEnumerator Start()
|
|
{
|
|
yield return new WaitForSeconds(0.5f);
|
|
|
|
Debug.Log("PLAY");
|
|
Debug.Log(path.GetTween().id);
|
|
DOTween.Play("myId");
|
|
}
|
|
} |