1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-21 01:36:05 +08:00

19 lines
336 B
C#

using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
public class TempPro : MonoBehaviour
{
public DOTweenPath path;
void Start ()
{
path.GetTween().OnWaypointChange(OnWaypointChange);
}
void OnWaypointChange (int index)
{
Debug.Log(index);
}
}